You are on page 1of 4

HTML list Tag

• HTML <ol> Tag


• The <ol> tag is used to create an ordered list.
• The list can be numerical or alphabetical.
• Each list item start with <li> tag.

Attribute Value Description


start number Specifies the start
point in a list
type 1 Specifies which
A kind of bullet points
a will be used
I
i
• HTML <ul> Tag
• The <ul> tag defines an unordered list (a bulleted list).
• Each list item start with <li> tag.
• Attributes:

Attribute Value Description


type
• Example: disc Specifies the
circle style of the
<ul> sqaure bullet.
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
HTML <dl> tag
• The HTML <dl> tag is used for declaring a definition list.
• A definition list is similar to other lists but in a
definition list, each list item contains two entries:
• Definition term
• Appears after the <DT> tag
• Definition description
• Appears after the <DD> tag

You might also like