Use HTML list

First, the unordered list (ul> li)

Format:

<ul>

  <Li> Today's headlines </ li>

  <Li> know almost </ li>

</ul>

Renderings:

 

 Second, the ordered list (ol> li)

format: 

<OL> 
<Li> headlines today </ Li>
<Li> know almost </ Li>
</ OL>

Renderings:

Third, the definition lists (dl> dt | dd)

Format:

<DL> 
<dt> title </ dt>
<dd> first </ dd>
<dd> second </ dd>
<dt> title </ dt>
<dd> first </ dd>
< dd> second </ dd>
</ DL>
renderings:

 

 A list of considerations:

1. Each unordered list is the same level, there are no tiers, page content and the content list are generally relatively simple nature of the title. Ordered list will be shown in the order list item
2. In a real web applications, the unordered list is more extensive than the application of an ordered list, an ordered list ol-li is generally used to display specific occasion with a sequentially numbered
3. Definition lists are generally applicable to the occasion with a title and content of the explanatory title

 

 

 

Guess you like

Origin www.cnblogs.com/aryl/p/11830890.html