From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/window/document/index.html | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 files/fr/web/api/window/document/index.html (limited to 'files/fr/web/api/window/document') diff --git a/files/fr/web/api/window/document/index.html b/files/fr/web/api/window/document/index.html new file mode 100644 index 0000000000..8fb5e6967e --- /dev/null +++ b/files/fr/web/api/window/document/index.html @@ -0,0 +1,47 @@ +--- +title: Window.document +slug: Web/API/Window/document +tags: + - API + - HTML DOM + - Propriété + - Reference + - Window +translation_of: Web/API/Window/document +--- +
{{APIRef}}
+ +

window.document renvoie une référence au document contenu dans la fenêtre.

+ +

Exemple

+ +
console.log(window.document.title);
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + +
SpécificationsStatutCommentaires
{{SpecName('HTML WHATWG', '#dom-document-2', 'Window.document')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'browsers.html#dom-document-0', 'Window.document')}}{{Spec2('HTML5 W3C')}}
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.Window.document")}}

-- cgit v1.2.3-54-g00ecf