diff options
| author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-26 13:11:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-26 13:11:47 +0200 |
| commit | 6772831200d14c2436aea2d0c837f40dbf12156f (patch) | |
| tree | e41b587ce1834baf8c737454c0ae110ebc8208ca /files/fr/web/api/stylesheet/href | |
| parent | 707941dbecfb0cc1e75dd32d2dacac4d1845bf2c (diff) | |
| download | translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.gz translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.bz2 translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.zip | |
Prepare Web API section for Markdown conversion (#2464)
* Remove summary classes and ids
* Remove unecessary hidden
* Remove useless span filled with useless attributes / ids
* Remove useless font
* Remove notranslate
* Remove id in other elements than headings
* Remove name attributes
* Remove <pre><code> for JS w/ language-js class
* Remove <pre><code> for HTML w/ language-html class
* Remove <pre><code> for other lang w/ language-* class
* Rm highlighted line in code samples
* fix links, internal, external, absolute URLs
* missing file from last commit
* Fix styles errors apart from table + some classes
* Fix notes and warnings (+ some other :x)
* fix typo during merge which broke a doc
* aand forgot a conflict
* fix remaining classes of errors except dls and images
* Fix dls
* Fix images (deki/mozillademos) and remaining style issues
* Remove script tag from svg file
* Remove script tag from svg fileS
* Compress SVG files for CI
Diffstat (limited to 'files/fr/web/api/stylesheet/href')
| -rw-r--r-- | files/fr/web/api/stylesheet/href/index.html | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/files/fr/web/api/stylesheet/href/index.html b/files/fr/web/api/stylesheet/href/index.html index f1ff1da5ea..730d459303 100644 --- a/files/fr/web/api/stylesheet/href/index.html +++ b/files/fr/web/api/stylesheet/href/index.html @@ -3,49 +3,47 @@ title: Stylesheet.href slug: Web/API/StyleSheet/href translation_of: Web/API/StyleSheet/href --- -<div><font><font>{{APIRef ("CSSOM")}}</font></font></div> +<div>{{APIRef ("CSSOM")}}</div> -<h2 id="Summary" name="Summary"><font><font>Résumé</font></font></h2> +<p>Renvoie l'emplacement de la feuille de style.</p> -<p><font><font>Renvoie l'emplacement de la feuille de style.</font></font></p> +<h2 id="Syntax">Syntaxe</h2> -<h2 id="Syntax" name="Syntax"><font><font>Syntaxe</font></font></h2> - -<pre class="eval"><em><font><font>Uri</font></font></em><font><font> = stylesheet.href -</font></font></pre> +<pre class="eval"><em>Uri</em> = stylesheet.href +</pre> -<h3 id="Parameters" name="Parameters"><font><font>Paramètres</font></font></h3> +<h3 id="Parameters">Paramètres</h3> <ul> - <li><code>uri</code><font><font> Est une chaîne contenant l'URI de la feuille de style.</font></font></li> + <li><code>uri</code> Est une chaîne contenant l'URI de la feuille de style.</li> </ul> -<h2 id="Example" name="Example"><font><font>Exemple</font></font></h2> - -<pre><font><font> // sur une machine locale: </font></font><font><font> - <Html> </font></font><font><font> - <Tête> </font></font><font><font> - <Link rel = "StyleSheet" href = "example.css" type = "text / css" /> </font></font><font><font> - <Script> </font></font><font><font> - Function sref () { </font></font><font><font> - Alerte (document.styleSheets [0] .href); </font></font><font><font> - }</font></font><font><font> - </ Script> </font></font><font><font> - </ Head> </font></font><font><font> - <Body> </font></font><font><font> - <Div class = "tonnerre"> Thunder </ div></font></font><font><font> - <Button onclick = "sref ()"> ss </ button></font></font><font><font> - </ Body> </font></font><font><font> - </ Html></font></font><font><font> -// retourne "fichier: //// C: /Windows/Desktop/example.css</font></font> +<h2 id="Example">Exemple</h2> + +<pre> // sur une machine locale: + <Html> + <Tête> + <Link rel = "StyleSheet" href = "example.css" type = "text / css" /> + <Script> + Function sref () { + Alerte (document.styleSheets [0] .href); + } + </ Script> + </ Head> + <Body> + <Div class = "tonnerre"> Thunder </ div> + <Button onclick = "sref ()"> ss </ button> + </ Body> + </ Html> +// retourne "fichier: //// C: /Windows/Desktop/example.css </pre> -<h2 id="Notes" name="Notes"><font><font>Remarques</font></font></h2> +<h2 id="Notes">Remarques</h2> -<p><font><font>Si la feuille de style est une feuille de style liée, la valeur de son attribut est son emplacement. </font><font>Pour les feuilles de style en ligne, la valeur de cet attribut est </font></font><code>NULL</code><font><font>.</font></font></p> +<p>Si la feuille de style est une feuille de style liée, la valeur de son attribut est son emplacement. Pour les feuilles de style en ligne, la valeur de cet attribut est <code>NULL</code>.</p> -<p><font><font>Cette propriété est en lecture seule sur Firefox, Opera, Google Chrome et Safari, et elle est lue / écrite dans Internet Explorer.</font></font></p> +<p>Cette propriété est en lecture seule sur Firefox, Opera, Google Chrome et Safari, et elle est lue / écrite dans Internet Explorer.</p> -<h2 id="Specification" name="Specification"><font><font>spécification</font></font></h2> +<h2 id="Specification">spécification</h2> -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.html#StyleSheets-StyleSheet-href"><font><font>Href </font></font></a></p> +<p><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.html#StyleSheets-StyleSheet-href">Href </a></p> |
