Skip to main content

How Do I Style Lists and Navigation Menus?

  • Chapter
Book cover Getting StartED with CSS
  • 875 Accesses

Abstract

HTML provides tags for three different types of lists: unordered (〈ul〉), ordered (〈ol〉), and definition (〈dl〉). Unordered lists are normally displayed as a series of bullet points; ordered lists are numbered; and definition lists are presented as a word or phrase followed its definition, indented on the following line. Figure 8-1 shows examples of all three (the code is in lists_01.html in the download files for this chapter).

The three types of lists supported in HTML

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 24.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 David Powers

About this chapter

Cite this chapter

Powers, D. (2009). How Do I Style Lists and Navigation Menus?. In: Getting StartED with CSS. Apress. https://doi.org/10.1007/978-1-4302-2544-7_8

Download citation

Publish with us

Policies and ethics