CBSE Class 10 Computer Applications
Question 35 of 79
Basic HTML Elements — Question 8
Back to all questions 8
Question Question 8
Discuss the use of <UL> and <LI> tags with suitable examples of each.
The <UL> tag is used to define an unordered list. It indents each item in the list and adds a bullet against each of them. The <LI> tag is used to display the listed items in an unordered or ordered list.
Consider the following example,
<HTML>
<BODY>
FRUITS
<UL>
<LI>Mango</LI>
<LI>Apple</LI>
<LI>Guava</LI>
<LI>Banana</LI>
</UL>
</BODY>
</HTML>
The list is displayed as follows:
FRUITS
- Mango
- Apple
- Guava
- Banana