172
Add an Unordered List ...........................................
2 In the body of the document,
type <ul>.
3 Press.
4 Type <li>.
5 Type an item for the list.
6 Type </li>.
7 Press.
Note: The code shown has been
indented using. This is not
required, but highly recommended.
1 Open a new HTML document
in your editor that contains
the basic HTML structure
tags.
Note: You can complete the
following steps on an existing
page if you want.
Add an Unordered List
Y
ou will likely find many reasons to have lists on your pages. You may need to list the ingredients
in a recipe or the materials required for a project or tutorial. The most common list, however,
might be your navigation; after all, navigation could be said to simply be a list of links to the pages
in your site. Perhaps the most common type of list on Web sites is an unordered, or bulleted, list.
The list is defined via the
- tag, and each item is denoted by a list item tag,
- .
1
2
5
4 6