A(n list is used to display information in sequential order)

Lists Bring Order To Web Pages: Here’s The HTML Code To Create Them

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Lists are used all the time on the web. Articles, website navigation menus, and product features on e-commerce websites all make frequent use of lists – even when you can’t tell that a list is being used just by looking at the web page.

There are three types of lists you can use, and this quick guide will show you how to use each.

Contents

  • 1 Unordered Lists
  • 2 Ordered Lists
    • 2.1 Changing Numbering
      • 2.1.1 Creating a Countdown List
      • 2.1.2 Starting a List on a Specific Number
      • 2.1.3 Changing the Numbering Style
  • 3 Description Lists
  • 4 Nested Lists
  • 5 Using Lists for Menus
  • 6 Styling Lists
  • 7 Closing Thoughts
  • 8 Related Elements