HTML HEAD (<head>) Tag
0 3143
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:
Share:
Comments
Waiting for your comments