HTML and CSS Reference
In-Depth Information
Figure 8.6 A description list with multiple terms and descriptions
When adding a description list, the <dt> element must come before the <dd> element.
The definition term and the description that directly follows it correspond to one another;
thus, the order of these elements is important.
By default, the <dl> element will include vertical margins, just like the <ul> and <ol>
elements. Additionally, the <dd> element includes a left margin by default.
Click here to view code image
1. <dl>
2. <dt>study</dt>
3. <dd>The devotion of time and attention to acquiring knowledge
on an academic subject, especially by means of topics</dd>
4. <dt>design</dt>
5. <dd>A plan or drawing produced to show the look and function or
workings of a building, garment, or other object before it is
built or made</dd>
6. <dd>Purpose, planning, or intention that exists or is thought to
exist behind an action, fact, or material object</dd>
7. <dt>business</dt>
8. <dt>work</dt>
9. <dd>A person's regular occupation, profession, or trade</dd>
10. </dl>
Search WWH ::

Custom Search