×

Unordered List [3/17]

To organize text in our documents we often use lists. To make a list, people sometimes simply enumerate lines in their text. This is not the best practice however, as no logical entity for the list is created in such a case in the document.

In HTML, a family of tags is used to create lists: unordered lists, ordered lists, and definition lists. In the next tasks, we'll learn how to use them.

Unordered (or bulleted) lists are created by the <ul> tag. This tag can contain nested <li> tags, i.e., "list items".


Do it
HTML
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Unordered List</title> </head> <body> <h1>List of tags we have learned:</h1> <ul> <li>html</li> <li>head</li> <li>body</li> <!-- Add new items here --> </ul> <p>Unordered list is used for items having no specific order.</p> </body> </html>
CSS
HTML Academy
  1. Add at least three items to the list of tags you have learned.
Theory Check Next