From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/window/document/index.md | 40 ++++++++++--------------------- 1 file changed, 13 insertions(+), 27 deletions(-) (limited to 'files/fr/web/api/window/document') diff --git a/files/fr/web/api/window/document/index.md b/files/fr/web/api/window/document/index.md index 70769ed0b9..c5635556ba 100644 --- a/files/fr/web/api/window/document/index.md +++ b/files/fr/web/api/window/document/index.md @@ -9,37 +9,23 @@ tags: - Window translation_of: Web/API/Window/document --- -
{{APIRef}}
+{{APIRef}} -

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

+**`window.document`** renvoie une référence au [document](/en-US/docs/Web/API/document) contenu dans la fenêtre. -

Exemple

+## Exemple -
console.log(window.document.title);
-
+```js +console.log(window.document.title); +``` -

Spécifications

+## 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')}}
+| Spécifications | Statut | Commentaires | +| ---------------------------------------------------------------------------------------------------- | -------------------------------- | ------------ | +| {{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

+## Compatibilité des navigateurs -

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

+{{Compat("api.Window.document")}} -- cgit v1.2.3-54-g00ecf