Skip to content

Instantly share code, notes, and snippets.

@knxroot
Created November 11, 2012 21:28
Show Gist options
  • Save knxroot/4056325 to your computer and use it in GitHub Desktop.
Save knxroot/4056325 to your computer and use it in GitHub Desktop.
HTML5:svg ejemplo básico
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SVG</title>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<rect x="100" y="100" width="200" height="100" style="stroke:#FF0000; fill:#FF0000;"/>
<polygon points="100,100 150,50 200,100 250,50 300,100" style="stroke:#FF0000; fill:#FF0000;" />
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment