HTML&CSS 【二】
2016-01-21 23:08
281 查看
Ordered Lists
Unordered lists
Lists inside a list
Comments
Font size
Font color
Font family
Background color
Aligning the text
Strong worlds – Bold
Emphasize words – italicize 斜体
<ol> <li>html</li> <li>css</li> ... </ol>
1.html 2.css
Unordered lists
<ul> <li>the good wife</li> <li>big bang theory</li> <li>modern family</li> <li>arrow</li> </ul>
Lists inside a list
<ol> <li>Dad's interests <ul> <li>football</li> <li>knitting</li> </ul> </li> <li>Mom's intesets <ul> <li>hating football</li> <li>skygating</li> </ul> </li> </ol>
Comments
<!-- and end with --> eg:<!-- this is a comment. -->
Font size
<p style="font-size: 12px"></p>
Font color
<h1 style="color: green; font-size: 12px"></h2>
Font family
<li style="font-size: 12px; font-family: Verdana"></li>
Background color
<body style="background-color: brown"></body>
Aligning the text
<li style="text-align: center"></li> center/left/right
Strong worlds – Bold
<p>Hello, I am <strong>sammy</strong>.</p>
Emphasize words – italicize 斜体
<p>Hello, I am <em>sammy</em>.</p>
相关文章推荐
- Web布局连载——两栏固定布局(五)
- [div+css]晒晒最新制作专题推广页模板
- 在Windows 8.1的IE 11中屏蔽双击放大功能
- 设计更快的网页(三):字体和 CSS 调整
- 纯CSS制作的新闻网站中的文章列表
- 10条影响CSS渲染速度的写法与使用建议第1/3页
- 通过Mootools 1.2来操纵HTML DOM元素
- BS项目中的CSS架构_仅加载自己需要的CSS
- 很不错的 CSS Hack 又学了一招
- 发一个css比较清爽的写法
- CSS expression控制图片自动缩放效果代码[兼容 IE,Firefox]
- css布局网页水平居中常用方法
- CSS经典技巧十则第1/2页
- css 兼容性问题this.style.cursor=''hand''
- IE6不能正常解析CSS文件问题的解决方法及原因分析
- 欲练CSS ,必先解决IE的一些细节分析
- CSS文字截取功能实现代码
- 支持IE6 IE7 Firefox 的纯CSS的下拉菜单
- WEB标准网页布局中尽量不要使用的HTML标签