The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.
dt – description list topic
This article is In Progress.
For technical reasons, the title of this article is not the text used to call this API. Instead, use
The dt element indicates a definition term within a definition list (dl).
|Permitted contents||flow content, but with no header, footer, sectioning content, or heading content descendants.|
The example shows a simple definition list with two item/description pairs.
<dl> <dt>Coffee</dt> <dd>A popular hot drink.</dd> <dt>Coca Cola</dt> <dd>One of the leading brands of a popular cold fizzy drink.</dd> </dl>
The example shows a definition list with a single item but multiple descriptions for that item.
<dl> <dt>Coffee</dt> <dd>A popular hot drink.</dd> <dd>A mid brown colour</dd> <dd>A common social invitation</dd> </dl>
The example shows a definition list with a single description and multiple items fitting that description.
<dl> <dt>Coffee</dt> <dt>Tea</dt> <dt>Vimto (in the North of England)</dt> <dd>A popular hot drink.</dd> </dl>
Typical browser default CSS properties for the dt element.
|HTML 5.1||W3C Working Draft|
|HTML 5||W3C Recommendation|
|HTML 4.01||W3C Recommendation|
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]