HTML <head> tag
Updated: 11/13/2018 by Computer Hope
When writing in HTML (hypertext markup language), the <head> tag is used to contain specific information about a web page, often called metadata. This information includes entries like the title of the document (which is mandatory), scripts or links to scripts, and CSS (cascading style sheets) files.
The following sections contain information about the <head> tag, including elements that are stored within it, and related attributes and browser compatibility.
Elements kept inside the <head> tag
Deprecated attributes
All HTML tags support standard attributes that define the settings of an HTML element. In addition to the standard settings, the <head> tag had the following unique attributes that are now deprecated.
Attribute | Description |
---|---|
profile | Designates the URL (uniform resource locator) of a document containing the detailed information about a <meta> tag's content attribute. |
Compatibility
Edge | Internet Explorer | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|---|
All versions | All versions | All versions | All version | All versions | All versions |
Browser, Compatibility, Container tag, Script, Title, URL, Web design terms