The <head> tag is used for indicating the head section of the HTML document.

The head can contain other HTML tags that provide information about the document such as title, description, keywords etc. Most of this information is not displayed in the browser but can be useful for search engines etc. The head tag is placed between the <html> and the <body> tags.

Example Code:
    <title>Title of the document</title>
     The content of the document goes here


Global Attributes:

The <head> tag also supports the Global Attributes in HTML5

Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.