aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/console/clear
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/console/clear
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/console/clear')
-rw-r--r--files/fr/web/api/console/clear/index.md48
1 files changed, 16 insertions, 32 deletions
diff --git a/files/fr/web/api/console/clear/index.md b/files/fr/web/api/console/clear/index.md
index 0df1cf3edf..e0914af264 100644
--- a/files/fr/web/api/console/clear/index.md
+++ b/files/fr/web/api/console/clear/index.md
@@ -3,46 +3,30 @@ title: clear()
slug: Web/API/Console/clear
translation_of: Web/API/Console/clear
---
-<div>{{APIRef("Console API")}}</div>
+{{APIRef("Console API")}}
-<p>Vide la console.</p>
+Vide la console.
-<p>Tous les messages de la console seront supprimés et remplacés par un message de confirmation ("Console was cleared").</p>
+Tous les messages de la console seront supprimés et remplacés par un message de confirmation ("Console was cleared").
-<p>À noter: sur Google Chrome, <code>console.clear()</code> n'a aucun effet si l'utilisateur a coché "Preserve log upon navigation" dans les <a href="https://developer.chrome.com/devtools/docs/settings#preserve-log%20upon%20navigation">paramètres de l'inspecteur</a>.</p>
+À noter: sur Google Chrome, `console.clear()` n'a aucun effet si l'utilisateur a coché "Preserve log upon navigation" dans les [paramètres de l'inspecteur](https://developer.chrome.com/devtools/docs/settings#preserve-log%20upon%20navigation).
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="syntaxbox">console.clear();
-</pre>
+ console.clear();
-<h2 id="Paramètres">Paramètres</h2>
+## Paramètres
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Paramètres</th>
- <th scope="col">Status</th>
- <th scope="col">Commentaire</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName("Console API", "#clear", "console.clear()")}}</td>
- <td>{{Spec2("Console API")}}</td>
- <td>Définition Initial</td>
- </tr>
- </tbody>
-</table>
+| Paramètres | Status | Commentaire |
+| ---------------------------------------------------------------------------- | -------------------------------- | ------------------ |
+| {{SpecName("Console API", "#clear", "console.clear()")}} | {{Spec2("Console API")}} | Définition Initial |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.Console.clear")}}</p>
+{{Compat("api.Console.clear")}}
-<h2 id="Voir_aussi">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li><a href="http://www.opera.com/dragonfly/documentation/console/">Opera Dragonfly documentation: Console</a></li>
- <li><a href="http://msdn.microsoft.com/library/gg589530">MSDN: Using the F12 Tools Console to View Errors and Status</a></li>
- <li><a href="https://developer.chrome.com/devtools/docs/console#assertions">Chrome Developer Tools: Using the Console</a></li>
-</ul>
+- [Opera Dragonfly documentation: Console](http://www.opera.com/dragonfly/documentation/console/)
+- [MSDN: Using the F12 Tools Console to View Errors and Status](http://msdn.microsoft.com/library/gg589530)
+- [Chrome Developer Tools: Using the Console](https://developer.chrome.com/devtools/docs/console#assertions)