window.document
renvoie une référence au document contenu dans la fenêtre.
Exemple
console.log(window.document.title);
Spécifications
Spécifications | Statut | Commentaires |
---|---|---|
HTML Living Standard La définition de 'Window.document' dans cette spécification. |
Standard évolutif | |
HTML5 La définition de 'Window.document' dans cette spécification. |
Recommendation |
Compatibilité des navigateurs
BCD tables only load in the browser