The most common HTML lists are ordered and unordered lists:
Unordered listHow to create an
unordered list in an HTML document.
Ordered listHow to create an
ordered list in an HTML document.
An unordered list starts with the <ul> tag. Each list item starts with the <li>
The list items are marked with bullets (typically small black circles).
Output Will Be::
An ordered list starts with the <ol> tag. Each list item starts with the <li>
The list items are marked with numbers.
A definition list is a list of items, with a description of each item.
The <dl> tag defines a definition list.
The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd>
(describes the item in the list):
Hint: Inside a list item you can put text, line breaks, images, links, other lists, etc.
Different types of ordered
listsDemonstrates different types of ordered lists.
Different types of unordered
listsDemonstrates different types of unordered lists.
Nested listDemonstrates how you
can nest lists.
Nested list 2Demonstrates a
more complicated nested list.
Definition listDemonstrates a
Your Query was successfully sent!