English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML DOM head Property

HTML DOM Document Object

headA read-only property that returns the document's <head> element as an element object.

Syntax:

document.head
var x = document.head;
Test See‹/›

Browser Compatibility

All browsers fully support the head property:

Properties
headYesYesYesYesYes

Technical Details

Return Value:Reference to the Head object, which represents a <head> element
DOM Version:DOM Level1

HTML DOM Document Object