image

© Risto Viita/Shutterstock

chapter4

Presenting Lists

IT’S COMMON TO DISPLAY lists of data in a webpage—either numbered lists or bulleted lists. HTML provides an ordered-list tag pair <ol> and </ol>, which you can use to create a numbered list. It also provides an unordered-list tag pair <ul> and </ul>, which you can use to create a bulleted list. In addition, HTML supports the <dl> and </dl> tag pair, which lets you create a definition list that consists of terms and their meanings. You might use this list, for example, to create a glossary of key terms.

Learning Objectives

This chapter examines HTML list processing in detail. By the time you ...

Get Introduction to Web Development Using HTML 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.