Created
September 18, 2014 08:21
-
-
Save jfreyre/99d18f79882e310d63a0 to your computer and use it in GitHub Desktop.
Simple SVG Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> | |
<head> | |
<!-- Le contenu caché --> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title></title> | |
</head> | |
<body> | |
<h1>Main Title</h1> | |
<p>Ceci est un paragraph normal.</p> | |
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="300" height="200"> | |
<rect width="30" height="30" x="1s0" y="10" fill="green" /> | |
<line x1="5" y1="5" x2="250" y2="95" stroke="red" /> | |
<circle cx="90" cy="80" r="50" fill="blue" /> | |
<text x="180" y="60">Un texte</text> | |
</svg> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment