Back to Topics
HTML Lists
What are HTML Lists?
HTML lists are used to group related items in a structured way. They help break down complex information into readable, organized points, commonly used for menus, instructions, and outlines.
List Types
- Unordered List (<ul>) — Items marked with bullets (circles, squares).
- Ordered List (<ol>) — Items marked with numbers or letters.
- Description List (<dl>) — A list of terms with their corresponding descriptions.
Syntax
<ul>
<li>Coffee</li>
<li>Tea</li>
</ul>
<ol>
<li>Step 1</li>
<li>Step 2</ol>
View My Practice Work