DFN <dfn> Tag

by Jai 25-Jun-19

0 308


<dfn> tag is also called as HTML definition tag as it is used to define the term in an HTML document. The content of the tag is shown in italic In the browser.

The <dfn> tag comes in pairs; the content is written between the opening (<dfn>) and the closing (</dfn>) tags.

Program:

<!DOCTYPE html>
<html>
<head>
<title>Dfn tag</title>
</head>
<body>
<h2>Example of dfn Tag</h2>
<p><dfn>HTML</dfn> is a markup language for creating web pages.</p>
</body>
</html>

Output:

DFN <dfn> Tag


Share:


Comments

    Waiting for your comments

Leave a Reply