HTML DOM head Property (original) (raw)

Last Updated : 11 Jul, 2025

The head property in HTML is used to return the first occurrence of the head if multiple heads in the document. It returns the reference of the head object, which represents the element

**Syntax:

document.head

**Return value: It returns the element of the head object.

**Example: The below program illustrates the **document.head property in HTML.

HTML `

DOM document.head() Property in HTML

GeeksforGeeks

DOM document.head Property

For displaying the Head of the document, double click the "View Head" button:

View Head

`

**Output:

**Supported Browsers: The browsers supported by _DOM head property are listed below: