Easy Tutorial
❮ Canvas Closepath Tag S ❯

HTML <dfn> Tag

Example

Formatting text in a document:


Browser Support

All major browsers support the <dfn> tag.


Tag Definition and Usage

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

Note: We do not oppose the use of this tag, but if you are using it just for visual effects, we recommend using CSS for potentially richer effects.

All phrase tags:

Tag Description
<em> Renders as emphasized text.
<strong> Defines important text.
<dfn> Defines a definition term.
<code> Defines computer code text.
<samp> Defines sample text.
<kbd> Defines keyboard text. It indicates text that should be entered by the user. It is often used in computer-related documentation or manuals.
<var> Defines a variable. You can use this tag with <pre> and <code> tags.

Differences Between HTML 4.01 and HTML5

None.


Global Attributes

The <dfn> tag supports HTML's global attributes.


Event Attributes

The <dfn> tag supports HTML's event attributes.


Related Articles

HTML Tutorial: HTML Text Formatting

❮ Canvas Closepath Tag S ❯