Defiition List
A definition list refers to a collection of terms with their corresponding descriptions. For example, you can display a glossary on a Web page by creating a definition list, which will
contain the terms and their descriptions. A definition list appears with the term indented on the left followed by the description on the right or on the next line. By default, the description text appears on the next line and is aligned with respect to the term.
You can specify a single line or multiple lines of description for each term. HTML provides three elements to create a definition list. These elements are as follows:
- DL
- DT
- DD
Consider a scenario, where you want to create a Web page that will display the types of
nouns with their descriptions. To do this, you must create a definition list. The steps to
create a definition list are as follows:
No comments: