In a description list, which tag defines the term?

Learn web design with our comprehensive test guide. Improve your skills with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready to ace your exam!

Multiple Choice

In a description list, which tag defines the term?

Explanation:
In a description list, the term itself is marked with the element that identifies the term being defined. This tag signals to browsers and assistive tech which word or phrase is the item whose meaning comes next. The description that explains that term goes in the separate tag designed for the definition, while the whole pair sits inside the container tag for the list. For example: <dl><dt>HTML</dt><dd>HyperText Markup Language</dd></dl>. Here, dt marks the term HTML, and dd provides its description. There is no HTML tag named <description>, and the container that holds the list is <dl>.

In a description list, the term itself is marked with the element that identifies the term being defined. This tag signals to browsers and assistive tech which word or phrase is the item whose meaning comes next. The description that explains that term goes in the separate tag designed for the definition, while the whole pair sits inside the container tag for the list. For example:

HTML
HyperText Markup Language
. Here, dt marks the term HTML, and dd provides its description. There is no HTML tag named , and the container that holds the list is
.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy