diff options
Diffstat (limited to 'files/fr/web/html/element/rp/index.html')
| -rw-r--r-- | files/fr/web/html/element/rp/index.html | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/files/fr/web/html/element/rp/index.html b/files/fr/web/html/element/rp/index.html index 40b8be5b98..f7db845a0f 100644 --- a/files/fr/web/html/element/rp/index.html +++ b/files/fr/web/html/element/rp/index.html @@ -19,49 +19,41 @@ translation_of: Web/HTML/Element/rp <div>{{EmbedInteractiveExample("pages/tabbed/rp.html", "tabbed-shorter")}}</div> -<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p> - <h2 id="Attributs">Attributs</h2> <p>Cet élément inclut uniquement <a href="/fr/docs/Web/HTML/Attributs_universels">les attributs universels</a>.</p> <h2 id="Exemples">Exemples</h2> -<div id="with-ruby"> -<h3 id="HTML">HTML</h3> +<h3 id="Avec_prise_en_charge_de_ruby">Avec prise en charge de ruby</h3> +<h4 id="HTML">HTML</h4> <pre class="brush: html"><ruby> 漢 <rp>(</rp><rt>Kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby></pre> -<div class="hidden"> -<h3 id="CSS">CSS</h3> -<pre class="brush: css">body { +<pre class="brush: css hidden">body { font-size: 22px; }</pre> -</div> -</div> -<h3 id="Résultat">Résultat</h3> +<h4 id="Résultat">Résultat</h4> + +<p>{{EmbedLiveSample("Avec_prise_en_charge_de_ruby","300","150")}}</p> -<p>{{EmbedLiveSample("with-ruby","300","150")}}</p> +<h3 id="Sans_prise_en_charge_de_ruby">Sans prise en charge de ruby</h3> <p>Avec un navigateur ne prenant pas en charge les annotations Ruby, on aurait :</p> -<div id="without-ruby"> -<div class="hidden"> -<pre class="brush: html">漢 (Kan) 字 (ji)</pre> +<pre class="brush: html hidden">漢 (Kan) 字 (ji)</pre> -<pre class="brush: css">body { +<pre class="brush: css hidden">body { font-size: 22px; } </pre> -</div> -</div> -<p>{{EmbedLiveSample("without-ruby", 600, 60)}}</p> +<p>{{EmbedLiveSample("Sans_prise_en_charge_de_ruby", 600, 60)}}</p> <h2 id="Résumé_technique">Résumé technique</h2> |
