Difference between revisions of "HTML/Elements/dt"

From W3C Wiki
< HTML‎ | Elements
Jump to: navigation, search
(HTML Reference)
m (HTML Reference: Fixed the dt section to correctly link to the appropriate HTML5 spec, instead of the HTML root element page)
Line 51: Line 51:
 
== HTML Reference ==
 
== HTML Reference ==
  
The HTML5 specification defines the &lt;dt&gt; element in [http://www.w3.org/TR/html5/semantics.html#the-dt-element 4.5.9 The dt element].
+
The HTML5 specification defines the &lt;dt&gt; element in [http://www.w3.org/TR/html5/grouping-content.html#the-dt-element 4.5.9 The dt element].
  
 
[[Category:HTML]]
 
[[Category:HTML]]
 
[[Category:HTMLElement]]
 
[[Category:HTMLElement]]

Revision as of 21:18, 12 October 2013

<dt>

The <dt> element represents the term, or name, part of a term-description group in a description list.

Point

  • 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.


HTML Attributes

See global attributes.


Examples

Example A

[try it]

<dl>
  <dt>term1</dt>
  <dd>definition1</dd>
  <dt>term2</dt>
  <dd>definition2</dd>
</dl>

Dt01.png

HTML Reference

The HTML5 specification defines the <dt> element in 4.5.9 The dt element.