Head Element



Head element denotes the head section of a HTML document.
<head> <title>Title</title> </head>

Example Code:

Result :

This content will not be displayed by the browser HTML5
  • It is necessary to use this element in a HTML document.
  • It should be placed after the <html>.
  • Contents should not be placed inside this element. Only <body> can include contents.
  • It can contain the "meta description, meta elements, code and Javascript".
It is available in the previous versions of HTML.
It supports only the Global Attributes in HTML5.


It is applicable to all major browsers.

Ask Questions

Ask Question