Description

The <dfn> (short for dfnete) tag is used to markup a range of text that has been dfneted from a document. Browsers will normally render the dfneted text as strike-through text, however you can overwrite this using CSS text-decoration property.

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 glodfnal Attributes in HTML5.

Event Attributes

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

Browser Compatibility

Element
<dfn>YesYesYesYesYes