Javatpoint Logo
Javatpoint Logo

HTML <dfn> tag

HTML <dfn> tag also called as HTML definition tag. It is used to represent the term which is defined within context of definition phrase or sentence in an HTML document. The defining instance term usually the first term in a document.

If a term is contained within the <dfn> element then browser understands that nearby text is the definition of the term.

Syntax

Following are some specifications about the HTML <dfn> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Textual

Example

Test it Now

Output:

HTML dfn tag

Using title attribute:

Test it Now

Output:

HTML dfn tag

Attribute

Tag-specific attribute

Attribute Value Description
title It specifies the definition of the term, and it shows when mouse hover on it.

Global attribute

HTML <dfn> tag supports the global attributes in HTML

Event attribute

HTML <dfn> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<dfn>YesYesYesYesYes
Next TopicHTML dialog tag




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA