|
|
HTML <dfn> tag
Syntax
<dfn> - </dfn>
Definition and Usage
The DFN element denotes the defining
instance of a term. Visual browsers typically render DFN
as italic text, but authors can suggest a rendering using style
sheets. Since DFN is a structural element, it
carries meaning, making it preferable to font style elements such as I
when marking up the defining instance of a term.
Optional Attributes
| Attribute |
Value |
Description |
| compact |
compact_rendering |
Deprecated. Use styles instead |
Standard Attributes
| id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onfocus, onblur, onmousedown,
onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown,
onkeyup |
For a full description, go to Event Attributes.
Example
| Source |
Output |
| The DFN element denotes the <dfn>defining
instance of a term.</dfn>
|
The DFN element denotes the defining
instance of a term.
|
|
|