HTML Lists
The HTML lists are ordered and unordered lists:
An ordered list
The HTML lists are ordered and unordered lists:
An ordered list
- First
- Second
- Third
An unordered list
- First
- Second
- Third
HTML Unordered Lists
<ul>
<li>Ram</li>
<li>Shyam</li>
</ul>
How this code looks in a browser:
- Ram
- Shyam
HTML Ordered Lists
<ol>
<li>Ram</li>
<li>Shyam</li>
</ol>
How this code looks in a browser:
- Ram
- Shyam
HTML Definition Lists
A definition list is below
<dl>
<dt>Ram</dt>
<dd>- is a good boy</dd>
<dt>Shyam</dt>
<dd>- is a bad boy</dd>
</dl>
How this code looks in a browser:
Ram
- is a good boy
Shyam
- is a bad boy