<dt>

Description

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

Example


<html>
<body>
     <dl>
          <dt>&lt;TABLE&gt;</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><!--from   w  w w .j av  a2  s  .  c o m-->
</body>
</html>

Click to view the demo

The code above generates the following result.

dt




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference