HTML LIST
HTML offers web authors three ways for specifying lists of
information. All lists must contain one or more list elements. Lists may
contain −
<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>
<h1>HTML Unordered List Output</h1>
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
-------------------
This will produce the following result:
HTML Unordered List Output
- Beetroot
- Ginger
- Potato
- Radish
No comments:
Post a Comment
Please do not enter any Link in the comment box.