Text Content
HTML <dfn> element
Marks the defining occurrence of a term. The surrounding context should give its definition. The defining term should be accompanied by a definition in its containing paragraph, description group or section. Later references to the term need not repeat the dfn markup. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<dfn>Term</dfn>Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| title | term | If present on dfn, supplies the term being defined. |
Return Value
HTMLElement
Content model: Phrasing content with no descendant dfn.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <p> A <dfn>void element</dfn> has no end tag in HTML syntax. </p> </body></html>