码迷,mamicode.com
首页 > Web开发 > 详细

html之行内式

时间:2015-04-17 20:27:51      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:

css行内式的编辑

 

<html>
  <head>
      <meta http-equiv="Content-Type"content="text/html;charset=utf-8"/>
      <title>行内样式</title>
  </head> 
  <body>
    <h1 style="background-color:#00f;color:#eee;text-align:center;">行内样式美化文字</h1>
    <p style="width:500px;height:100px;background-color:yellow;color:red;text-align:center;line-height:100px;">CSS的功能</p>
  </body>
</html>

 

直接加入了一个style的属性。

html之行内式

标签:

原文地址:http://www.cnblogs.com/seventh/p/4435792.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!