dfn Element
Description
The dfn
element defines a term.
It explains the meaning or significance of a word or phrase.
If the dfn
element has a title
attribute,
then the value of the title
attribute must be the term that is being defined.
Example
You can see an example of a dfn
element being used in the following code.
<!DOCTYPE HTML>
<html>
<body>
<p>
The <dfn title="Cascading Style Sheets">CSS</dfn>
is a style sheet language used for describing the
look and formatting of a document written in a markup language.
</p><!--from w w w . j a v a2s . co m-->
</body>
</html>
Note
If the dfn
element contains an abbr
element,
then the abbreviation is the term that is being defined.
If there is no title
attribute and the contents of the element are text,
then the text represents the term being defined.
There is no style convention associated with this element.