HTML Unordered lists are used to display a list of items in no particular order. To create an unordered list in HTML, you need to use the <ul> element, which stands for “unordered list”, and then enclose the list items in <li> tags, which stands for “list item”.
Here’s an example of how to create an unordered list in HTML:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
This code will create an unordered list with three items, “Item 1”, “Item 2”, and “Item 3”. The <ul> element creates the unordered list, and the <li> elements define each list item.
You can also nest unordered lists within each other to create sub-levels of the list:
<ul>
<li>Item 1</li>
<li>Item 2
<ul>
<li>Sub-item 1</li>
<li>Sub-item 2</li>
</ul>
</li>
<li>Item 3</li>
</ul>
In this example, “Item 2” has a sub-level of two items, “Sub-item 1” and “Sub-item 2”, which are enclosed in another <ul> element within the <li> tag.
