HTML5 <head> Tag

Example

A simple HTML document, with a title:

<html>
<head>
<title>Title of the document</title>
</head>

<body>
Enter your content
</body>

</html>
Code it Online »

Definition and Usage

The head element is a container for all the head elements. Elements inside <head> can include scripts, instruct the browser where to find style sheets, provide meta information, and more.

The Below tags can be added to the head section: <base>, <link>, <meta>, <script>, <style>, and <title>.

Differences Between HTML 4.01 and HTML5

The profile attribute is not supported in HTML5

Tips and Notes

Always specify a title for the document

Standard Attributes

The <head> tag also supports the Standard Attributes in HTML5.


Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!