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

Proprietà head HTML DOM

Oggetto Documento HTML DOM

headProprietà readonly che restituisce l'elemento <head> del documento come oggetto di elemento.

Sintassi:

document.head
var x = document.head;
Prova a vedere‹/›

Compatibilità del browser

Tutti i browser supportano completamente la proprietà head:

Proprietà
head

Dettagli tecnici

Valore di ritorno:Riferimento all'oggetto Head, che rappresenta un elemento <head>
Versione DOM:Livello DOM 1

Oggetto Documento HTML DOM