Lists help organize content in a clear and readable way. HTML supports unordered lists (bullets) and ordered lists (numbers).
1. Unordered List (<ul>)
Displays items with bullets.
Output:
HTML
CSS
JavaScript
2. Ordered List (<ol>)
Displays items with numbers or letters.
Output:
Introduction
Body
Conclusion
3. Nested Lists
You can put lists inside another list.
4. List Attributes (for <ol>)
type="A" → A, B, C
type="a" → a, b, c
type="I" → I, II, III
start="5" → start numbering at 5
Summary
<ul> creates unordered (bullet point) lists.
<ol> creates ordered (numbered/lettered) lists.
<li> defines each list item.
Lists can be nested and styled with attributes.
Lists make information easy to scan and improve readability on web pages.