Adding Lists 3 Types
Three types of lists are support inside HTML, Bulleted, Numbered,
Definition.
First type of list is Bulleted.
this uses the <ul>
"beginning" tag and </ul>
"Ending" tag, and <li> "beginning"
tags and </li> "Ending" tag.
Example of Adding List Code.
<ul>
<li>First list item</li>
<li>Second list item</li>
<li>Third list item</li>
</ul>
Example of how it looks.
- First list item
- Second list item
- Third list item
________________________________________________________________________________________________________
Second type of list is Numbered list,
this uses the <ol> "beginning" tag and
</ol>
"Ending" tag, and <li> " beginning" tags and
</li>
"Ending" tag.
Example of Adding List Code.
<ol>
<li>First list item</li>
<li>Second list item</li>
<li>Third list item</li>
</ol>
Example of how it looks.
- First list item
- Second list item
- Third list item
________________________________________________________________________________________________________
Third type of list is Definition list.
The list uses the <dl> "beginning"
tag
and </dl> "Ending"
tag.
The terms use <dt>
"beginning" tag and </dt>
"Ending" tag.
The
definitions use the <dd>
"beginning" tag and </dd>
"Ending" tag.
Example of Adding List Code.
<dl>
<dt>First Term</dt>
<dd>First Term Definition</dd>
<dt>Second Term</dt>
<dd>Second Term Definition</dd>
<dt>Third Term</dt>
<dd>Third Term Definition</dd>
</dl>
Example of how it looks.
- First Term
- First Term Definition
- Second Term
- Second Term Definition
- Third Term
- Third Term Definition
________________________________________________________________________________________________________
|