ul
Definition and Usage
<ul> stands for unordered list. The<ul>
tag is written as <ul>
</ul>
with the list items nested between the start and end tags. List items are represented by the <li>
element. Each item in the list is marked with a bullet. It is also called un-numbered list.
Syntax:
<ul>
<li>
List item</li>
<li>
List item</li>
</ul>
The <ul>
element should be used to list items that don't need to be presented in particular order. Changing the order of<ul>
list items should not change the meaning of the list or document. If list items need to be presented in a particular order (such as a step-by-step list of instructions)<ol>
tag be used