HTML Lists
HTML lists are provided to web developers to group a set of related items. There are basically two lists used in HTML including an Unordered HTML list and an Ordered HTML list.
An Unordered HTML List
An unordered list starts with the <ul> tag and each list item starts with the <li> tag. For more understanding, see below example:
<ul>
<li>Home Work</li>
</ul>
OUTPUT
An Ordered HTML List
An ordered list starts with the <ol> tag and each list item starts with the <li> tag as used in an Unordered list, for example:
<ol>
<li>Home Work</li>
</ol>
OUTPUT
- Home Work