HTML head Tag

HTML<head>Tag: The HTML<head>tag specifies a container for all the head elements. This HTML head tag includes a title for the document, styles, meta information (meta keywords, meta description… ) etc. This HTML head tag supports the global attributes. In HTML 4.01 the <head> element was mandatory but in HTML5, the <head> element can be omitted.


A <title> for the document, <scripts>, <styles>, <meta> information are included in <head> element.
The <head> tag is the first child of an HTML document. And the <head> tag belongs to heading content category.

Syntax: <head> Text </head>

Browser Compatibility

The HTML<head> tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer


<!DOCTYPE html>
<title>HTML TUTORIAL</title>
HTML stands for HTML Hypertext Markup Language 


HTML stands for HTML Hypertext Markup Language

Attributes that are supported by the <header> tag

Attribute Value Description
profile URL Specifies a URL to a document that contains a set of rules. The rules can be read by browsers to clearly understand the information in the tag’s content attribute