dfn (Definition) Tag

<dfn> (Definition Tag)

Explanation

DFN tag is used to provide importance (highlight) to the "definitions" in a content.
Definitions are shown in different font size and style.
<dfn>Text</dfn>

Example Code:

Result :

Hyper Text Markup Language is a markup language used to create hypertext documents that are platform independent.
  • Use this tag to highlight the definitions in a document.
  • Firefox and Opera browsers will display the text enclosed by <dfn> in Italic Font.
  • Chrome and Safari browsers will display the words inserted between <dfn> in Upright Font.
It is available in previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all the browsers.

Ask Questions

Ask Question