Answer
HTML supports three types of lists - Unordered List, Ordered List, and Description List.
List Type | Description |
Unordered List | The list items are displayed with bullets against them. |
Ordered List | The list items are displayed with a number ,that defines its position in the list. |
Description List | The list contains terms and their descriptions. |
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>Unorderded List</h1>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<h1<Orderded List</h1>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<h1>Description List</h1>
<dl>
<dt>Term 1</dt>
<dd>Term 1 Description</dd>
<dt>Term 1</dt>
<dd>Term 1 Description</dd>
<dt>Term 1</dt>
<dd>Term 1 Description</dd>
</dl>
</body>
</html>
In the below example, we have used HTML entity names and numbers to include reserved characters.