HTML Tutorial · Chapter 7 of 9
HTML Lists
Organize items with ul and ol.
ul is for unordered lists. ol is for ordered lists.
Each item uses li.
List sample
Try it Yourself »
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lists</title>
</head>
<body>
<h1>Topics</h1>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
</ul>
</body>
</html>
Classroom Tips
- Use lists for navigation and steps.
- Keep list items short.