There are 3 different types of list elements in HTML

 There are 3 different types of list elements in HTML

1) Ordered List

<ol>…</ol>  - specifies ordered list (using a numbers for each)
<li> -  specifies each list item.

The following example shows how to add an Ordered List.

2) Unordered List

<ul>…</ul>  - specifies unordered list (using a bullet for each)
<li> - specifies each list item

The following example shows how to add an Ordered List.

3) Description List

<dl>…</dl>  - specifies a definition list
<dt> - specifies each term
<dd> -specifies each term definition

The following example shows how to add a Description List.



Post a Comment

Previous Post Next Post