HTML <dfn> Tag

The <dfn> tag is used to define the term, that is mentioned for the first time. In the browser, the content of the tag is shown in italic.

Syntax

The <dfn> tag comes in pairs, which means that the content should be written between the opening (<dfn>) and the closing (</dfn>) tags.

Example

<!DOCTYPE html>
<html>
  <body>
    <p><dfn>HTML</dfn> (HyperText Markup Language ) — The standardized markup language for documents on the World Wide Web. Most web pages contain a description of the markup in the language HTML</p>
  </body>
</html>

Attributes

Attribute Value Description
title Specifies the definition of a term (shown when hovering).

Example

<!DOCTYPE html>
<html>
  <body>
    <dfn title="HyperText Markup Language">HTML</dfn>
  </body>
</html>

Result

The <dfn> tag also supports the Global Attributes.