4.4.10 The dt element
4.4.10 The dt element
Категории:
None.
Контексты, в которых может использоваться этот элемент:
Before dd or dt elements inside dl elements.
Before dd or dt elements inside div elements that are children of a dl element.
Контентная модель:
Flow content, but with no header, footer, sectioning content, or heading content descendants.
Опущение тегов в text/html:
A dt element's end tag can be omitted if the dt element is immediately followed by another dt element or a dd element.
Атрибуты контента:
глобальные атрибуты
Специфика доступности:
Для авторов.
Для разработчиков.
Санитизация:
Default.
DOM-интерфейс:
Uses HTMLElement.
The dt element represents the term, or name, part of a term-description group in a description list (dl element).
The dt element itself, when used in a dl element, does not indicate that its contents are a term being defined, but this can be indicated using the dfn element.
This example shows a list of frequently asked questions (a FAQ) marked up using the dt element for questions and the dd element for answers.
<article>
<h1>FAQ</h1>
<dl>
<dt>What do we want?</dt>
<dd>Our data.</dd>
<dt>When do we want it?</dt>
<dd>Now.</dd>
<dt>Where is it?</dt>
<dd>We are not sure.</dd>
</dl>
</article>