Ordered & Unordered Lists — Free HTML Tutorial
Learn Ordered & Unordered Lists in HTML with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
TL;DR: Learn Ordered & Unordered Lists in HTML with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
Written & reviewed by the Syllab.in Academic Team (CBSE/NCERT subject experts) · Updated
Ordered & Unordered Lists in HTML
Unordered lists (<ul>) show items with bullet points. Ordered lists (<ol>) show numbered items. Description lists (<dl>) pair terms with definitions.
Each list item is wrapped in <li>. Lists can be nested infinitely deep for hierarchies.
Style lists with CSS: change list-style-type to disc, circle, square for bullets, or decimal, roman, alpha for numbers.
Ordered & Unordered Lists — Syntax
<ul> <li>Item 1</li> </ul> <ol> <li>First</li> <li>Second</li> </ol>
Learn Ordered & Unordered Lists step by step with Syllab's free interactive HTML tutorial — runnable code examples, practice exercises and instant AI feedback, all free with no signup. Explore the full HTML course →