HTML <dfn> Tag


Examples

Format text in a document:

<dfn>Definition item</dfn>

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the <dfn> tag.


Tag Definition and Usage Instructions

The <dfn> tag is a phrase tag used to define a definition item.

Tip:We do not oppose the use of this tag, but if you only use it to achieve a certain visual effect, we recommend that you use CSS, which may produce richer results.

All phrase tags:

Tag Description
<em> Renders as emphasized text.
<strong> Defines important text.
<dfn> Defines a definition item.
<code> Defines computer code text.
<samp> Defines sample text.
<kbd> Defines keyboard text. It indicates that the text is typed from a keyboard. It is often used in computer-related documents or manuals.
<var> Defines a variable. You can use this tag together with the <pre> and <code> tags.


Differences Between HTML 4.01 and HTML5

None.


Global Attributes

The <dfn> tag supportsHTML global attributes。


Event Attributes

The <dfn> tag supportsHTML event attributes。


Related Articles

HTML Tutorial:HTML Text Formatting

Other Extensions