The HTML Definition Tag <dfn> always surrounds the word or term which is being defined.
Definition HTML Tag needs to be closed using the closing Definition tag </dfn>.
Syntax of HTML Definition Tag <dfn>
<dfn> Word or Term: </dfn> The Definition of the word or term.
Example of HTML Definition Tag <dfn>
|HTML Definition Tag Code||Output|
<dfn> Computer: </dfn> A computer is a general purpose device that can be programmed to carry out a finite set of arithmetic or logical operations.
|Computer: A computer is a general purpose device that can be programmed to carry out a finite set of arithmetic or logical operations.|
Here in the above example we can see that the words “Computer” is formatted in a different way than the definition of the same and that is because we have wrapped the word “Computer” in the HTML definition tag.
HTML Definition Tag Supporting Browsers