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
Write a complete HTML Web page with the title "Foo Bar" and a heading at the top which reads "Happy Hour at the Foo Bar", followed by the words "Come on down!" in regular type.
How would you say,
"We're having our annual Impeachment Day SALE today,"
in normal sized blue text, but with the word "SALE" in the largest possible size in bright red ?Differentiate between ordered and unordered lists.
How will you nest an unordered list inside an ordered list ?