Professional Documents
Culture Documents
·
Ordered list–The ordered list
uses <ol> tag and displays
elements in a numbered
format.
·
Unordered list–The unordered
list uses <ul> tag and
displays elements in a bulleted
format.
·
Definition list–The definition
list uses <dl>, <dt>,
<dd> tags and displays
elements in definition form
like in a dictionary.
Differentiate
between an Ordered list and an
Unordered list?
<html>
<body>
<h2>HTML List
Example</h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>