dfn tag in html

The <dfn> tag represents the defining instance of a term in HTML.
The defining instance is often the first use of a term in a document.
The nearest parent of the <dfn> tag must also contain the definition/explanation for the term inside <dfn>.


simple <dfn>:


<!DOCTYPE html>
<html>
<body>

<p><dfn>HTML</dfn> is the standard markup language for creating web pages.</p>

</body>
</html>

Output:
HTML is the standard markup language for creating web pages.



<dfn> tag abbr as the attribute


<!DOCTYPE html>
<html>
<body>

<p><dfn><abbr title="HyperText Markup Language">HTML</abbr></dfn> is the standard markup language for creating web pages.</p>

</body>
</html>

Output:

HTML is the standard markup language for creating web pages.



Comments

Popular posts from this blog

Introduction and Format of HTML

Headings In HTML

Strong big and small tags in html