HTML Element <ul> Example
The HTML element <ul>
is used to define an unordered list, where each item of the list is defined using the <li>
element.
The list is displayed with bullets in front of each item, where the bullet style can be a disc, circle, or square.
Here is an example that explains the element in action. Click the below link to see the live demo.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example - HTML Element ul</title>
</head>
<body>
<h2>Unordered List</h2>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</body>
</html>