List
- A list is used to represent items sequentially.
- There are three types of lists:
- Ordered Lists,
- Unordered Lists
- Description Lists.
Syntax:
<li>Line1</li>
<li>Line2</li>
<li>Line3</li>
Example:
<!DOCTYPE html>
<html>
<head>
<title>list</title>
</head>
<body>
<h3>List example</h3>
<li>Cat</li>
<li>Dog</li>
<li>Cow</li>
</body>
</html>
Output: