Head Tag in HTML || HTML Program

HTML HEAD (<head>) Tag

Last Updated by Jai 06-Jul-19

0 705


The <head> tag use the head portion of the HTML document which contains the most useful information about the document. It is used between <html> tag and <body> tag.

The head tag is not displayed in the browser on page loading. But it has more information like the title for the document, scripts, styles, meta information, link, NoScript, base and more.

We can use below tag inside the <head> Tag:

Program:

<!DOCTYPE html>
<html>
<head>
<title>Head Tag</title>
</head>
<body>
<p>This is body. The body's content is displayed in the browser.</p>
</body>
</html>

Output:

HTML HEAD (<head>) Tag


Share:


Leave a Reply


Comments
    Waiting for your comments