akhilpoojari
New member
HTML offers web authors three ways for specifying lists of information. All lists must contain one or more list elements. Lists may contain −
<html>
<head>
<title>HTML Unordered List</title>
</head>
<body>
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
This will produce the following result −
- <ul> − An unordered list. This will list items using plain bullets.
- <ol> − An ordered list. This will use different schemes of numbers to list your items.
- <dl> − A definition list. This arranges your items in the same way as they are arranged in a dictionary.
HTML Unordered Lists
An unordered list is a collection of related items that have no special order or sequence. This list is created by using HTML <ul> tag. Each item in the list is marked with a bullet.Example
<!DOCTYPE html><html>
<head>
<title>HTML Unordered List</title>
</head>
<body>
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
This will produce the following result −
- Beetroot
- Ginger
- Potato
- Radish