HTML

HTMLHeadElement

HTMLHeadElement <head>

The metadata, or descriptive information, for a document is included in the HTMLHeadElement interface. All of the properties and methods listed in the HTMLElement interface are inherited by this object. Between the html and body tags, the <head> element serves as a container for metadata (info about data).
Metadata is data about the HTML document. Metadata is not displayed. Metadata typically define the document title, character set, styles, scripts, and other meta information.
The following elements can go inside the <head> element: <title>, (required in every HTML document)<style>,<base>,<link>,<meta>,<script>,<noscript>.

Browser Compatibility

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