HTML dfn tag

HTML <dfn> tag: The HTML <dfn> tag specifies defining instance of a term in HTML. While the nearest parent of the <dfn> tag must also contain the definition/explanation for the term inside <dfn>. The term inside the HTML dfn tag can be any one of the following:

1. Without a title attribute within a <dfn> tag.
2. With the presence of a title attribute.
3. The title attribute of an <abbr> tag inside a <dfn> tag.

HTML <dfn> Tag

This HTML<dfn>tag supports both the global and the event attributes. Generally, the defining instance is the first use of a term in a document.

Syntax: <dfn>Text</dfn>

Browser compatibility

The HTML<dfn> tag is supported by different type of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer

Example:

<!DOCTYPE html>
<html>
<body>
<p><dfn id="C-def">C</dfn> is introduced by Dennis Ritchie.</p>
</body>
</html>

Output:

C is introduced by Dennis Ritchie.