标签:
一、语义化元素
1. ul标签
W3C草案:
The ul element represents an unordered list of items; that is, a list in which changing the order of the items would not change the meaning of list.W3C specification
语义化<ul>元素:表示包含一组无序列表项内容。
2. ol标签
W3C草案:
The ol element represents a list (or sequence) of items; that is, a list in which the items are intentionally ordered, such that changing the order would change the meaning of the list.W3C specification
语义化<ol>元素:表示包含一组有序列表项内容,若改变列表项顺序则会改变整体的含义。
3. dl标签
W3C草案:
The dl element represents a description list.W3C specification
语义化<dl>元素:表示包含一组定义列表项内容。内部包含1到N个子元素<dt>用于标识定义列表项,一个<dt>元素可对应1~N个表示定义列表项描述的<dd>元素。示例:
<dl> <dt>前端技术点</dt> <dd>HTML</dd> <dd>CSS</dd> <dd>JavaScript</dd> <dt>Java开发</dt> <dd>Java Web</dd> </dl>
标签:
原文地址:http://www.cnblogs.com/fsjohnhuang/p/4174760.html