An HTML list refers to a way to display a collection of items in a structured format on a webpage using HTML, and the main types of lists include.
These lists are used for items that do not need to be in any specific order.
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Output:

These lists are used when the order of the items is important.
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
Output:

These lists are used to contain terms and their corresponding descriptions.
<dl>
<dt>Item1</dt>
<dd>- Item1 of Content</dd>
<dt>Item2</dt>
<dd>- Item2 of Content</dd>
</dl>
Output:

© 2025Think4u. All Rights Reserved.