From 7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a Mon Sep 17 00:00:00 2001 From: julieng Date: Mon, 1 Nov 2021 07:51:27 +0100 Subject: move *.html to *.md --- files/fr/web/svg/element/tspan/index.html | 100 ------------------------------ files/fr/web/svg/element/tspan/index.md | 100 ++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 100 deletions(-) delete mode 100644 files/fr/web/svg/element/tspan/index.html create mode 100644 files/fr/web/svg/element/tspan/index.md (limited to 'files/fr/web/svg/element/tspan') diff --git a/files/fr/web/svg/element/tspan/index.html b/files/fr/web/svg/element/tspan/index.html deleted file mode 100644 index 0c80f3a94e..0000000000 --- a/files/fr/web/svg/element/tspan/index.html +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: -slug: Web/SVG/Element/tspan -tags: - - Contenu texte SVG - - Elément(3) - - Référence(2) - - SVG -translation_of: Web/SVG/Element/tspan ---- -
{{SVGRef}}
- -

A l'intérieur d'un élément {{SVGElement("text")}}, les propriétés du texte et des polices, ainsi que la position actuelle du texte, peuvent être ajustées de façon absolue ou relative à partir des coodonnées précisées dans un élément tspan.

- -

Contexte d'utilisation

- -

{{svginfo}}

- -

Exemple

- - - -
<svg viewBox="0 0 240 40" xmlns="http://www.w3.org/2000/svg">
-  <style>
-    text  { font: italic 12px serif; }
-    tspan { font: bold 10px sans-serif; fill: red; }
-  </style>
-
-  <text x="10" y="30" class="small">
-    Vous êtes
-    <tspan>not</tspan>
-    une banane !
-  </text>
-</svg>
- -

{{EmbedLiveSample('exemple', 100, '100%')}}

- -

Attributs

- -

Attributs globaux

- - - -

Specific attributes

- - - -

Interface DOM

- -

Cet élément implémente l'interface SVGTSpanElement.

- -

Spécifications

- - - - - - - - - - - - - - - - - - - - - -
SpécificationStatutCommentaire
{{SpecName('SVG2', 'text.html#TextElement', '<tspan>')}}{{Spec2('SVG2')}} 
{{SpecName('SVG1.1', 'text.html#TSpanElement', '<tspan>')}}{{Spec2('SVG1.1')}}Définition originale
- -

Compatibilité des navigateurs

- -

{{Compat("svg.elements.tspan")}}

- -

Voir aussi

- - diff --git a/files/fr/web/svg/element/tspan/index.md b/files/fr/web/svg/element/tspan/index.md new file mode 100644 index 0000000000..0c80f3a94e --- /dev/null +++ b/files/fr/web/svg/element/tspan/index.md @@ -0,0 +1,100 @@ +--- +title: +slug: Web/SVG/Element/tspan +tags: + - Contenu texte SVG + - Elément(3) + - Référence(2) + - SVG +translation_of: Web/SVG/Element/tspan +--- +
{{SVGRef}}
+ +

A l'intérieur d'un élément {{SVGElement("text")}}, les propriétés du texte et des polices, ainsi que la position actuelle du texte, peuvent être ajustées de façon absolue ou relative à partir des coodonnées précisées dans un élément tspan.

+ +

Contexte d'utilisation

+ +

{{svginfo}}

+ +

Exemple

+ + + +
<svg viewBox="0 0 240 40" xmlns="http://www.w3.org/2000/svg">
+  <style>
+    text  { font: italic 12px serif; }
+    tspan { font: bold 10px sans-serif; fill: red; }
+  </style>
+
+  <text x="10" y="30" class="small">
+    Vous êtes
+    <tspan>not</tspan>
+    une banane !
+  </text>
+</svg>
+ +

{{EmbedLiveSample('exemple', 100, '100%')}}

+ +

Attributs

+ +

Attributs globaux

+ + + +

Specific attributes

+ +
    +
  • {{SVGAttr("x")}}
  • +
  • {{SVGAttr("y")}}
  • +
  • {{SVGAttr("dx")}}
  • +
  • {{SVGAttr("dy")}}
  • +
  • {{SVGAttr("rotate")}}
  • +
  • {{SVGAttr("textLength")}}
  • +
  • {{SVGAttr("lengthAdjust")}}
  • +
+ +

Interface DOM

+ +

Cet élément implémente l'interface SVGTSpanElement.

+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('SVG2', 'text.html#TextElement', '<tspan>')}}{{Spec2('SVG2')}} 
{{SpecName('SVG1.1', 'text.html#TSpanElement', '<tspan>')}}{{Spec2('SVG1.1')}}Définition originale
+ +

Compatibilité des navigateurs

+ +

{{Compat("svg.elements.tspan")}}

+ +

Voir aussi

+ +
    +
  • {{SVGElement("text")}}
  • +
-- cgit v1.2.3-54-g00ecf