Task 28: Creating Definition Lists

Definition lists are slightly different than the previous list types you’ve encountered. The list items in a definition list consist of two parts: a term and a description. Browsers render definition lists by placing the term on one line and indenting the definition underneath it, creating what’s called a hanging indent. You use three pairs of tags to create a definition list: dl and /dl tags define where the list begins and ends, dt and /dt tags define the term, and dd and /dd tags define the term’s definition.

No comments: