diff options
author | julieng <julien.gattelier@gmail.com> | 2021-08-03 08:03:09 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-03 08:08:25 +0200 |
commit | 844f5103992238c0c23203286dad16a466e89c97 (patch) | |
tree | d537708951bb2b61be8192ffacc05a0ce6804f89 /files/fr/web/javascript/reference/global_objects/string/blink/index.html | |
parent | a70fd5b73ecb10bec3906640023e2a1a46e118a2 (diff) | |
download | translated-content-844f5103992238c0c23203286dad16a466e89c97.tar.gz translated-content-844f5103992238c0c23203286dad16a466e89c97.tar.bz2 translated-content-844f5103992238c0c23203286dad16a466e89c97.zip |
move *.html to *.md
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/string/blink/index.html')
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/string/blink/index.html | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/string/blink/index.html b/files/fr/web/javascript/reference/global_objects/string/blink/index.html deleted file mode 100644 index a57014d354..0000000000 --- a/files/fr/web/javascript/reference/global_objects/string/blink/index.html +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: String.prototype.blink() -slug: Web/JavaScript/Reference/Global_Objects/String/blink -tags: - - Deprecated - - HTML wrapper methods - - JavaScript - - Méthode - - Prototype - - Reference - - String -translation_of: Web/JavaScript/Reference/Global_Objects/String/blink -original_slug: Web/JavaScript/Reference/Objets_globaux/String/blink ---- -<div>{{JSRef}}{{deprecated_header}}</div> - -<p>La méthode <code><strong>blink()</strong></code> crée un élément HTML {{HTMLElement("blink")}} qui affiche la chaine de caractères en clignotant.</p> - -<div class="warning"><p><strong>Attention :</strong> Les textes clignotants sont fortement déconseillés par de nombreux standards d'accessibilité. L'élément <code><blink></code> est lui-même non standard et obsolète !</p></div> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox"><var>str</var>.blink()</pre> - -<h3 id="Valeur_de_retour">Valeur de retour</h3> - -<p>Une chaine de caractères représentant un élément HTML {{HTMLElement("blink")}}.</p> - -<h2 id="Description">Description</h2> - -<p>La méthode <code>blink()</code> place la chaine de caractères dans une balise <code><blink></code> :<br> - <code>"<blink>str</blink></code>"</p> - -<h2 id="Exemples">Exemples</h2> - -<p>L'exemple suivant utilise des méthodes de <code>String</code> pour changer l'affichage d'une chaine de caractères :</p> - -<pre class="brush:js">var chaîneMonde = "Coucou monde"; - -console.log(chaîneMonde.blink()); -console.log(chaîneMonde.bold()); -console.log(chaîneMonde.italics()); -console.log(chaîneMonde.strike());</pre> - -<p>Cet exemple produira le code HTML suivant :</p> - -<pre class="brush:html"><blink>Coucou monde</blink> -<b>Coucou monde</b> -<i>Coucou monde</i> -<strike>Coucou monde</strike></pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-string.prototype.blink', 'String.prototype.blink')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Définition initiale. Implémentée avec JavaScript 1.0. Définie dans l'annexe B (normative) pour les fonctionnalités additionnelles des navigateurs web.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-string.prototype.blink', 'String.prototype.blink')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td>Définie dans l'annexe B (normative) pour les fonctionnalités additionnelles des navigateurs web.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("javascript.builtins.String.blink")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li>{{jsxref("String.prototype.bold()")}}</li> - <li>{{jsxref("String.prototype.italics()")}}</li> - <li>{{jsxref("String.prototype.strike()")}}</li> -</ul> |