Definitions
Definition lists are used to define terms. A definition list is identified with <dl>...</dl>
tags.
The term being defined is encapsulated in “definition term” tags (<dt>...</dt>
).
The terms definition is then encapsulated in the “definition” tags (<dd>...</dd>
).
Note Sometimes, you might see a list where there are two terms used for the same definition or two different definitions for the same term. The usage of terms is acceptable.
HTML
<dl>
<dt>Term 1</dt>
<dd>This is the definition of Term 1.</dd>
<dt>Term 2</dt>
<dd>This is the definition of Term 2.</dd>
</dl>
html
- Previous
- Next