VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-head-property/

⇱ HTML DOM head Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM head Property

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 <head> element

Syntax:

document.head

Return value: It returns the <head> element of the head object.

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

Output:

👁 Image

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

Comment
Article Tags: