HTML Unordered Lists
An unordered list presents items without following a specific sequence. A bullet point (•) shows each item by default.
Syntax
<ul> <li>Item 1</li> <li>Item 2</li> </ul>


- <ul>: Defines the unordered list (container)
- <li>: Defines each list item (List Item)
Example
<h2>Fruits</h2> <ul> <li>Apple</li> <li>Banana</li> <li>Orange</li> </ul>
Nested Unordered Lists
You can nest lists to create sub-lists:
Example
<ul>
<li>Fruits
<ul>
<li>Apple</li>
<li>Banana</li>
</ul>
</li>
<li>Vegetables</li>
</ul>
Quickly Find What You Are Looking For
OnlineTpoint is a website that is meant to offer basic knowledge, practice and learning materials. Though all the examples have been tested and verified, we cannot ensure the correctness or completeness of all the information on our website. All contents published on this website are subject to copyright and are owned by OnlineTpoint. By using this website, you agree that you have read and understood our Terms of Use, Cookie Policy and Privacy Policy.
point.com