O'Reilly logo

InterACT with Web Standards: A holistic approach to web design by Denise Jacobs, Glenda Sims, Christopher Schmitt, Chris Mills, Leslie Jensen-Inman, Lars Gunther, Derek Featherstone, Virginia DeBolt, Erin Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. Lists

by Chris Mills

The purpose of HTML lists is to group related pieces of information together, so they are clearly associated with each other and easy to read—think about shopping lists, or steps in a recipe, or a list of upcoming concerts your favourite band is playing.

In this chapter we will cover the different HTML list types available and when and how you should use them, go through list styling best practices, and then look at some slightly more advanced examples. Figure 17.1 shows an example of a typical HTML list being used to display some content items.

Figure 17.1. A typical HTML list.

Image

In this chapter you have the opportunity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required