HTML dfn Tag

HTML dfn Tag specifies a specific term which is defined further inside the parent element of dfn tag. The term dfn stands for "definition".

Syntax of HTML dfn Tag

The Syntax of HTML dfn Tag is shown below, It has both starting and ending tags.

<dfn>HTML</dfn>

Usage of HTML dfn Tag

HTML dfn Tag is used to specify the term which is defined or described inside the parent element of dfn tag.

Note: It is important that the term enclosed inside dfn tag must be defined in the nearest parent html element of dfn tag.

HTML dfn tag can also be used with abbr tag.

Example of HTML dfn Tag

Simple example of HTML dfn Tag is shown below.

<p><dfn>HTML</dfn> is a Markup language used to create Web Pages.</p>

Output

The output of above HTML code is shown below.

HTML is a Markup language used to create Web Pages.

The default font style of html dfn tag is italic.

title attribute can also be used inside the starting dfn tag for the abbreviations like HTML or CSS.

<p><dfn title='HyperText Markup Language'>HTML</dfn> is a Markup language used to create Web Pages.</p>

HTML is a Markup language used to create Web Pages.

Browser Support for HTML dfn Tag

HTML dfn Tag is supported by all major browsers including Safari and Internet Explorer.

Global Attributes Support in HTML dfn Tag

The HTML dfn Tag supports all Global Attributes.

Event Attributes Support in HTML dfn Tag

The HTML dfn Tag supports all Event Attributes.

HTML dfn Tag Video

Watch our video on HTML dfn Tag and subscribe our Youtube Channel.