« 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
(Page créée avec « <!DOCTYPE html> <html> <head> <title>HTML5 SVG demo</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> </head> <body> <h1>HTML... »)
 
mAucun résumé des modifications
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<source lang="HTML5">
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
Ligne 15 : Ligne 16 :


   </body>
   </body>
</html>
</source>
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>
</html>

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>