HTML Lists
Many times, we are required to have some kind of list in our document. In such situations, we can have different lists based on our requirements, like the ordered list, unordered list, or description list as well. We are going to look after them, one by one. We are going to use some different tags here, with which, you will gradually become familiar.
- <ol>
This tag is used to create an ordered list. Ordered means the list would be numbered or indexed. - <ul>
This tag is used to create an unordered list. Unordered means that list would have bullets or circles. - <li>
This tag contains the actual list content(known as list item), whether the list is ordered, or unordered.
If you are not able to get the whole thing, just don’t worry, since we are going to go into the details of the different types of lists one by one.
We also got something called a description list. In this, we are going to have different things like terms and its definition. We are going to have a look at it later.