« STIC:Atelier graphisme, animation, interactivité et HTML5/Green circle dans une page HTML5 » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
mAucun résumé des modifications
 
Ligne 20 : Ligne 20 :


Résultat:
Résultat:
<html>
<html>
<svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg">
<svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg">

Dernière version du 24 mars 2015 à 18:40

<!DOCTYPE html>
<html>
  <head>
    <title>HTML5 SVG demo</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  </head>

  <body>
    <h1>HTML5 SVG Demo</h1>
    <p> A nice green circle:</p>

    <svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg">
      <circle id="greencircle" cx="30" cy="30" r="30" fill="green" />
    </svg>

  </body>
</html>

Résultat:

<html> <svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg"> <circle id="greencircle" cx="30" cy="30" r="30" fill="green" /> </svg> </html>