HTML <head> Tag

The Head element provides metadata and browser instructions that are not shown on the web page.

The head element serves as a container for metadata and is located between the <html> and <body> tags.

Metadata is information about an HTML document. Metadata is not shown.

Metadata often defines the title of the document, as well as the character set, styles, scripts, and other meta information.

The following elements can be placed inside the <head> element: 




Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<head> Yes Yes Yes Yes Yes