HEAD (<head>) Tag

by Jai 06-Jul-19

0 93


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:

<title> (this element is required in an HTML document)
<style>
<base>
<link>
<meta>
<script>
<noscript>

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:

HEAD (<head>) Tag



Share:


Comments

    No Comments Yet.

Leave a Reply