• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 5. Text Alignment, Lists, and Speci... > The Three Types of HTML Lists

The Three Types of HTML Lists

There are three basic types of HTML lists. All three are shown in Figure 5.8; Figure 5.9 reveals the HTML to construct them:

  • The bulleted list is called an unordered list. It opens with the <ul> tag and closes with </ul>. It looks just like an ordered list, except that bullets appear at each <li> tag instead of numbers.

  • The numbered list at the top is called an ordered list. It begins with an <ol> tag and ends with a closing </ol> tag. Numbers and line breaks appear automatically at each <li> tag, and the entire list is indented.

  • The list of terms and their meanings is called a definition list. It starts with the <dl> and ends with </dl>. The <dt> tag goes in front of each term to be defined, with a <dd> tag in front of each definition. Line breaks and indentations appear automatically.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint