Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>SVG Example</title>
- <style type="text/css">
- body {
- background-color: #ddddff;
- }
- svg {
- background-color: white;
- }
- </style>
- </head>
- <body>
- <svg width="530" height="300">
- <rect x="50" y="150" width="100" height="100" fill="purple" />
- <circle cx="250" cy="200" r="50" fill="purple" />
- <rect x="350" y="150" width="100" height="100" fill="purple" />
- <text x="30" y="100" fill="purple" font-size="42" font-weight="bold" font-family= "Helvetica">SVG module 2 exercise</text>
- </svg>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement