Lesson 9
Objective: Check your SVG Shapes progress
You have completed all the basic shape lessons and should now be comfortable hand-typing SVG for the following SVG shapes and styles:
<svg width="400" height="400" viewBox="0, 0, 400, 400"> <!-- COMMENT. SVG markup goes here --> </svg>
You can copy and paste these default elements with their properties and edit them as required.
<line x1="0" y1="0" x2="0" y2="0" /> <polyline points="1,1 2,2, 3,3" /> <circle cx="5" cy="5" r="10" /> <ellipse cx="10" cy="10" rx="5" ry="10" /> <rect x="0" y="0" width="100" height="50"> <polygon points="1,1 2,2, 3,3" /> <image xlink:href="igp.jpg" x="0" y="0" height="50px" width="50px"/>
stroke="rgb(0,0,0)" Can use name colours, RGB, RGBA or hex. Eg: #000000 stroke-width="2" fill="rgb(0,0,0)" Can use name colours, RGB, RGBA or hex. Eg: #000000 stroke-linecap="butt | round | square" stroke-linejoin="miter | round | bevel" stroke-dasharray="4, 4"
Here are our standard SVG Cheatsheets you can download, print out and have ready when needed. There is also a text file containing annotated quickstarts for all major shapes and techniques.
SVG Editor. Access a full SVG Editor online at any time.