HTML Lists
HTML Lists are used to specify lists of information. It divided as:
-
Ordered List
-
Unordered List
-
Description List
HTML Ordered List
The ordered list starts with <ol> tag and the list items start with <li> tag.
Example:
<HTML>
<HEAD>
<TITLE>List Example </TITLE>
</HEAD>
<BODY>
<H1> Mobile Operating System</h1>
<OL>
<LI> Naveen
<LI> Jitendra
<LI> Sachin
<LI> ...
</OL>
</BODY>
</HTML>
Unordered List
The ordered list starts with <ul> tag and the list items start with <li> tag.
Example
<HTML>
<HEAD>
<TITLE>List Example </TITLE>
</HEAD>
<BODY>
<H1> Mobile Operating System</h1>
<UL>
<LI> Naveen
<LI> Jitendra
<LI> Sachin
<LI> ...
</UL>
</BODY>
</HTML>
Description List
Definition list contains following three tags:
-
<dl> tag defines the start of the list.
-
<dt> tag defines a term.
-
<dd> tag defines the term definition (description).
Conclusion
In this, we have a focus on different types of lists which used to organized content.
Here we cover all lists with important tag.
You can put these tag in HTML code to find an attractive result.