O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

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

Creating Description Lists

HTML provides a type of list specifically for describing an association between names (or terms) and values in groups. Dubbed description lists in HTML5, they were known as definition lists in previous versions of HTML.

According to the HTML5 specification, “Name-value groups may be terms and definitions, metadata topics and values, questions and answers, or any other groups of name-value data.” Each list is contained in a dl, and each name-value group within it has one or more dt elements (the names or terms) followed by one or more dd elements (their values). Image shows a basic description list example. Aside from some ...

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