HTML <dfn> Tag

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!

Description

The <dfn> HTML tag is used to define the definition element within a document. It is typically used to indicate the term being defined within a paragraph or section of content. This tag helps improve the accessibility and semantic structure of web documents by explicitly marking up terms and their corresponding definitions. Browsers and assistive technologies can use this markup to enhance the user's understanding of the content, making it a valuable tool for creating clear and accessible web pages.

Properties

Permitted Parents
Any element that accepts phrasing content
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

<dfn>Definition</dfn>: To define the meaning of a word, phrase or term.

Attributes

None

Global Attributes

The <dfn> tag also supports the Global Attributes in HTML5

Event Attributes

The <dfn> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <dfn> tag.

Desktop
Edge Chrome Firefox Opera Safari
12151156
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
18414614.4

Last updated by CSSPortal on: 30th September 2023