© Risto Viita/Shutterstock
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.
This chapter examines HTML list processing in detail. By the time you ...