Tags that are used to create an unordered list.
Q7. Mention the tags that are used to create an unordered list.
Ans. An unordered list uses <UL> tag and <LI> tag to create list of items the unordered format.
<UL> tag: The term UL stands for unordered list. It is container element type. Its attributes are class, dir, type, and compact. It can be used inside the <BODY> tag.
<LI> tag: The term LI stand for list items. It is a container element type. Its attributes are class, dir, type and value. It can be used inside <OL> tag and <UL> tag.
The code given below displays how to create an unordered list:
<HTML>
<HEAD>
<TITLE> WELCOME TO HTML</TITLE>
</HEAD>
<BODY>
<UL>
<LI>Sumit
<LI> Gopal
<LI> Ravi
<LI> Rohit
</UL>
</BODY>
</HTML>