<dfn> tag

HTML <dfn> tag

The <dfn> element is a HTML definition tag for a term.

You should also provide the definition of the term which is used in the <dfn> tag.

Syntax:
<parent_tag>
  <dfn>Defintion-term</dfn> description/explanation of the definition
</p>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Example for HTML dfn Tag</title>
  </head>
  <body>
    <p>
      <dfn>WWW</dfn> stands for World wide web where documents and other web resources are identified by URLs.
    </p>
  </body>
</html>

Default CSS Values

font-style: italic;

How Browser will display

INLINE.

Difference between HTML4.01, XHTML and HTML5

HTML4 XHTML HTML5
No Difference No Difference No Difference

Attributes used with <dfn> tag

Attribute Description
title Defines the title of the text when the user mouse over it. The title contains a text.
id Describes an id for the <dfn> tag with an id name. The same id name can be referred using the '#' symbol followed by the id name in the <a> tag.

Global Attributes

The <dfn> tag supports Global attributes.

Event Attributes

The <dfn> tag supports Event attributes.

Supporting Browsers

supporting-browsers for tags

Related Tags

<abbr> tag.

Tutorials for all brains!