<ul>
Published Jul 1, 2022
Contribute to Docs
The <ul>
element represents an unordered list of items.
Syntax
<ul>
<li><!-- Content here --></li>
</ul>
By default, each list item is prepended with a dot marker. But this can be altered by changing the value of the list-style-type
property.
Example
The following example showcases an unordered list with items that contain text and emoticons:
<ul><li>Play more music 🎸</li><li>Read more books 📚</li></ul>
Each rendered list item will have a dot marker:
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn HTML on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner Friendly7 hours