Unordered List
Unordered List
This tag is used to create a set of bulleted items. An unordered list element has the tag <ul>
. This is an abbreviation for Unordered List. Each item in the list is marked by a list item element <li>
.
Examples
Unordered List
Using <ul>
to make an unordered list
<ul>
<li>Tea</li>
<li>Milk</li>
<li>Water</li>
</ul>
Boba Flavors
A list of possible flavors to include in boba tea.
<html>
<body>
<h1>Boba Flavor Choices</h1>
<ul>
<li>Lychee</li>
<li>Mango</li>
<li>Passion Fruit</li>
<li>Peach</li>
<li>Plum</li>
<li>Strawberry</li>
</ul>
</body>
</html>

Syntax
<ul></ul>
Tips
- To make the unordered list, write the unordered list tags
<ul> </ul>
. Next, add your list items inside the unordered list tags. To make each list item, use the list item tags<li> </li>
and write the list item inside the tags. - Try to indent your
</li>
tags so it's clear they are contained in the<ul>
tag. - The list items can contain content other than text such as lists of videos, images, songs, or hyperlinks.
Additional Information
For more information, see http://www.w3schools.com/tags/tag_ul.asp.
Found a bug in the documentation? Let us know at support@code.org.