aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/document
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:24 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commit1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch)
tree30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/window/document
parentc05efa8d7ae464235cf83d7c0956e42dc6974103 (diff)
downloadtranslated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip
convert content to md
Diffstat (limited to 'files/fr/web/api/window/document')
-rw-r--r--files/fr/web/api/window/document/index.md40
1 files changed, 13 insertions, 27 deletions
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
---
-<div>{{APIRef}}</div>
+{{APIRef}}
-<p><strong><code>window.document</code></strong> renvoie une référence au <a href="/en-US/docs/Web/API/document">document</a> contenu dans la fenêtre.</p>
+**`window.document`** renvoie une référence au [document](/en-US/docs/Web/API/document) contenu dans la fenêtre.
-<h2 id="Exemple">Exemple</h2>
+## Exemple
-<pre class="brush: js">console.log(window.document.title);
-</pre>
+```js
+console.log(window.document.title);
+```
-<h2 id="Spécifications">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécifications</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaires</th>
- </tr>
- <tr>
- <td>{{SpecName('HTML WHATWG', '#dom-document-2', 'Window.document')}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- <td></td>
- </tr>
- <tr>
- <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-document-0', 'Window.document')}}</td>
- <td>{{Spec2('HTML5 W3C')}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
+| 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')}} | |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.Window.document")}}</p>
+{{Compat("api.Window.document")}}