KnowledgeBoat Logo
|

Computer Applications

What type of lists are supported by HTML ?

HTML Intro

6 Likes

Answer

HTML supports the following types of lists:

1. Unnumbered or bulleted list — These lists are indented lists with a special bullet symbol in front of each item. For example,

<UL>
    <LI>Apples</LI>
    <LI>Bananas</LI>
    <LI>Grapes</LI>
</UL>

2. Numbered or ordered list — These are indented lists that have numbers or letters in front of each item. For example,

<OL>
    <LI>Apples</LI>
    <LI>Bananas</LI>
    <LI>Grapes</LI>
</OL>

3. Definition lists — A definition list <DL> usually consists of an alternating definition term <DT> and a definition description <DD>. For example,

<DL>
    <DT>Apples</DT>
    <DD>Apples are rich in Vitamin A. They are good for eye sight. They should be eaten in the morning.</DD>
    <DT>Bananas</DT>
    <DD>Bananas are rich in calcium. They keep the stomach healthy. They should be eaten during the day.</DD>
</DL>

Answered By

3 Likes


Related Questions