aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/notification/badge/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/notification/badge/index.md')
-rw-r--r--files/fr/web/api/notification/badge/index.md35
1 files changed, 12 insertions, 23 deletions
diff --git a/files/fr/web/api/notification/badge/index.md b/files/fr/web/api/notification/badge/index.md
index 319ba58bb9..b5663529fb 100644
--- a/files/fr/web/api/notification/badge/index.md
+++ b/files/fr/web/api/notification/badge/index.md
@@ -10,35 +10,24 @@ tags:
- Reference
translation_of: Web/API/Notification/badge
---
-<p>{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}</p>
+{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}
-<p>La propriété <strong><code>badge</code></strong> de l'interface {{domxref ("Notification")}} renvoie l'URL de l'image utilisée pour représenter la notification lorsqu'il n'y a pas assez d'espace pour afficher la notification elle-même.</p>
+La propriété **`badge`** de l'interface {{domxref ("Notification")}} renvoie l'URL de l'image utilisée pour représenter la notification lorsqu'il n'y a pas assez d'espace pour afficher la notification elle-même.
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="syntaxbox">const url = Notification.badge</pre>
+ const url = Notification.badge
-<h3 id="Valeur">Valeur</h3>
+### Valeur
-<p>Une {{domxref('USVString')}} contenant une URL.</p>
+Une {{domxref('USVString')}} contenant une URL.
-<h2 id="Spécifications">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">État</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Web Notifications','#dom-notification-badge','badge')}}</td>
- <td>{{Spec2('Web Notifications')}}</td>
- <td>Définition initiale.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | État | Commentaire |
+| ---------------------------------------------------------------------------------------- | ---------------------------------------- | -------------------- |
+| {{SpecName('Web Notifications','#dom-notification-badge','badge')}} | {{Spec2('Web Notifications')}} | Définition initiale. |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.Notification.badge")}}</p>
+{{Compat("api.Notification.badge")}}