dfn Element

Description

The dfn element defines a term. It explains the meaning or significance of a word or phrase.

If the dfn element has a title attribute, then the value of the title attribute must be the term that is being defined.

Example

You can see an example of a dfn element being used in the following code.


<!DOCTYPE HTML>
<html>
<body>
  <p>
  The <dfn title="Cascading Style Sheets">CSS</dfn>
  is a style sheet language used for describing the
  look and formatting of a document written in a markup language.
  </p><!--from w w  w .  j  a v  a2s  .  co m-->
</body>
</html>

Click to view the demo

Note

If the dfn element contains an abbr element, then the abbreviation is the term that is being defined.

If there is no title attribute and the contents of the element are text, then the text represents the term being defined.

There is no style convention associated with this element.





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed