diff options
Diffstat (limited to 'files/fr/web/svg/element/foreignobject/index.html')
| -rw-r--r-- | files/fr/web/svg/element/foreignobject/index.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/files/fr/web/svg/element/foreignobject/index.html b/files/fr/web/svg/element/foreignobject/index.html index ef67d24b0b..993f08a761 100644 --- a/files/fr/web/svg/element/foreignobject/index.html +++ b/files/fr/web/svg/element/foreignobject/index.html @@ -11,10 +11,9 @@ translation_of: Web/SVG/Element/foreignObject <p>L'élément <strong><code><foreignObject></code></strong> permet d'inclure des éléments d'un espace de noms XML différent à l'intérieur du <a href="/fr/docs/Web/SVG">SVG</a>. Dans le contexte d'un navigateur, il s'agit généralement d'inclure du XHTML/HTML.</p> -<div id="Exemple"> -<div class="hidden"> -<pre class="brush: css">html,body,svg { height:100% }</pre> -</div> +<h2>Exemple</h2> + +<pre class="brush: css hidden">html,body,svg { height:100% }</pre> <pre class="brush: html; highlight[16,27]"><svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <style> @@ -45,8 +44,7 @@ translation_of: Web/SVG/Element/foreignObject </foreignObject> </svg></pre> -<p>{{EmbedLiveSample('Exemple', 150, '100%')}}</p> -</div> +<p>{{EmbedLiveSample('exemple', 150, '100%')}}</p> <h2 id="Attributs">Attributs</h2> |
