The <dfn>
tag is used as a definition element that specifies the title of a definition. The definition of the title specified by <dfn>
tag must follow the announcing tag.
The <dfn>
tag supports
The content of the tag can modify the definition title. Some examples are:
<dfn>
tag without any other tags.<dfn>
tag can include a title
property. The value of this title is the term being defined.<abbr>
tag to show what the abbreviation stands for. Hovering the cursor over the title will show the un-abbreviated title.<dfn>
tag can be used to specify a hyperlink within the text. The <a>
tag is used to refer to the <id>
specified in the content of <dfn>
tag.These modifications are also explained in the code below.
The following code snippet shows the different ways the <dfn>
tag can be used.