ul,ol,and li Tags
What It Does:
There are two types of lists. The ordered list uses the "ol" tag, and the unordered list uses the "ul" tag. Ordered lists are numbered, while unordered lists uses dots.
Both lists use the "li" tag for every list item.
The Syntax:
<ul>
<li>First list item</li>
<li>Second list item</li>
</ul>
- All of these tags are not self closing.
- Lists can be nested to create multi level lists. You can even mix list types.
- All these tags also support default attributes, including ID and CLASS.