HTML <dfn>
Tag
Topic: HTML5 Tags ReferencePrev|Next
Description
The <dfn>
(short for definition) tag represents the defining instance of a term.
The following table summarizes the usages context and the version history of this tag.
Placement: | Inline |
---|---|
Content: | Inline and text |
Start/End Tag: | Start tag: required, End tag: required |
Version: | HTML 2, 3.2, 4, 4.01, 5 |
Syntax
The basic syntax of the <dfn>
tag is given with:
The example below shows the <dfn>
tag in action.
Example
Try this code »<p>The <dfn title="Hyper Text Markup Language">HTML</dfn> is the publishing language of the World Wide Web.</p>
Tag-Specific Attributes
The <dfn>
tag doesn't have any specific attribute.
Global Attributes
Like all other HTML tags, the <dfn>
tag supports the global attributes in HTML5.
Event Attributes
The <dfn>
tag also supports the event attributes in HTML5.
Browser Compatibility
The <dfn>
tag is supported in all major modern browsers.
Basic Support—
|
Further Reading
See tutorial on: HTML Text Formatting.