Use the <dl>
, <dt>
and <dd>
tags to tag definition lists (in a glossary, for example).
You can associate several definitions with a single term by following the procedure below:
<dl> <dt>Term 1</dt> <dd>Definition of term 1.</dd> <dt>Term 2</dt> <dt>1. First definition of term 2.</dt> <dt>2. Second definition of term 2.</dt> </dl>
The HTML5 specification extends the role of the standard definition list to a broader one of a list of descriptions. With HTML5 you can use <dl>
, <dt>
and <dd>
to tag any groups of key/value pairs (product sheet, publication details of an article, etc.).
<h2>Conference on sustainable development </h2> <dl> <dt>Place</dt> <dd>London</dd> <dt>Date</dt> <dd>Saturday 29 September 2012</dd> <dt>Time</dt> <dd>From 10:00 a.m. </dd> </dl>