HTML Tags

HTML <dfn> Tag

Topic: HTML5 Tags ReferencePrev|Next

Description

The <dfn> (short for definition) tag represents the defining instance of a term.

The following table summarizes the usages context and the version history of this tag.

Placement: Inline
Content: Inline and text
Start/End Tag: Start tag: required, End tag: required
Version: HTML 2, 3.2, 4, 4.01, 5

Syntax

The basic syntax of the <dfn> tag is given with:

HTML / XHTML: <dfn> ... </dfn>

The example below shows the <dfn> tag in action.

<p>The <dfn title="Hyper Text Markup Language">HTML</dfn> is the publishing language of the World Wide Web.</p>

Tag-Specific Attributes

The <dfn> tag doesn't have any specific attribute.


Global Attributes

Like all other HTML tags, the <dfn> tag supports the global attributes in HTML5.


Event Attributes

The <dfn> tag also supports the event attributes in HTML5.


Browser Compatibility

The <dfn> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 2+
  • Apple Safari 1+
  • Opera 4+

Further Reading

See tutorial on: HTML Text Formatting.

Related tags: <abbr>, <dl>, <dt>, <dd>.

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties