This element is known as the definition term,
and it is used in conjunction with the <dl>
and <dd>
elements.
The <dl>
element is a definition list
that you can use to contain multiple definition terms,
<dt>
, along with definition
descriptions, <dd>
.
<dt> |
Yes | Yes | Yes | Yes | Yes |
None.
The <dt> tag supports the Global Attributes in HTML.
The <dt> tag supports the Event Attributes in HTML.
dt { display: block; }
A demo showing how to use <dt> tag.
<html>
<body>
<dl>
<dt><TABLE></dt>
<dd>an html element.</dd>
<dt>border-color</dt>
<dd>a style sheet property.</dd>
<dt>innerText</dt>
<dd>a JavaScript property.</dd>
<dt>cloneNode()</dt>
<dd>a JavaScript method.</dd>
</dl><!-- w w w . j av a 2s .c o m-->
</body>
</html>