HTML Lists
HTML lists allow web developers to group a set of related items in lists.
HTML provides three types of lists. Use them to present grouped, structured information clearly.
Try It — All List Types
Preview
List Types Explained
| Tag | Type | Description |
|---|---|---|
<ul> | Unordered | Bullet points — order doesn’t matter |
<ol> | Ordered | Numbered — sequence matters |
<dl> | Description | Term + definition pairs |
<li> | List Item | Used inside <ul> and <ol> |
<dt> | Term | Used inside <dl> |
<dd> | Description | Used inside <dl> to describe <dt> |
Tip: You can customise the bullet style of
<ul>lists using CSS:list-style-type: circle,square, ornone.