Creating a List HTML supports three kinds of lists: bulleted, numbered, and definition. A bulleted list (also called an unordered list) contains a list of items with a bullet character to the left of each item in the list. The default bullet character might be a black dot or a black square, depending on the browser you are using. A numbered list (also called an ordered list) creates a list of items with sequential numbering for each item. A definition list is usually associated with terms and their definitions. For example, you might use a definition list to create a list of terms and then format each term’s description as part of the list. Figure 8-9 shows the syntax and an example for each type of list. Figure 8-9 HTML-supported lists List Type HTML Code Example Bulleted
  • Item 1
  • Item 2
Item 1 Item 2 Numbered
  1. Item 1
  2. Item 2
Item 1 Item 2 Definition
Item 1
Definition
Item 2
Definition
Item 1 Definition Item 2 Definition Chief Silva’s page uses a bulleted list. You will create this list next. To create a bulleted list: 1 Switch to your text editor. 2 Click the insertion point to the right of the closing

tag, and then press the Enter key twice. 3 Type the following lines of code to create the bulleted list, pressing the spacebar three times at the beginning of each line that begins with the
  • tag so your code is aligned as shown in the figures: sidenote Tip: To add more items to the bulleted list, set the content in the
  • and
  • tags. 4 Save the file, and then reload the page in your browser. Figure 8-10 shows the page. Figure 8-10 Bulleted list added to webpage Trouble? The default bullet character your browser uses might look slightly different from the bullet character shown in Figure 8-10. This difference causes no problems. Chief Silva is pleased with the appearance of the page. However, she wants the webpages for the Lakeside Police Department to include the police department’s logo instead of the typed title “Lakeside Police Department.” She asks you to replace the title with the logo.