One ordered and one unordered HTML list:
The <li> tag defines a list item.
The <li> tag is used in both ordered (<ol>) and unordered (<ul>) lists.
The <li> tag is supported in all major browsers.
Hint: Use CSS to define the type of list and list item.
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <li> tag supports the following standard attributes:
More information about Standard Attributes.
The <li> tag supports the following event attributes:
More information about Event Attributes.
A nested listA list inside a list.
Another nested listA more complicated nested list.
Your Query was successfully sent!