UNORDER LISTs
An unordered list is a list of items. The list items are marked with bullets (typically small black circles).
An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
Examples
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
Order Lists
An ordered list is also a list of items. The list items are marked with numbers.
An ordered list starts with the >ol< tag. Each list item starts with the >li< tag.
Examples
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
Defination Lists
A definition list is not a list of single items. It is a list of items (terms), with a description of each item (term).
A definition list starts with a <dl> tag (definition list).
Each term starts with a <dt> tag (definition term).
Each description starts with a <dd> tag (definition description).
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
No response to “ ”
Post a Comment