Drawing Rectangles with SVG¶ Next we will draw a rectangle 1 2 3 4<svg height="200" width="200"> <rect x="10" y="20" width="150" height="100" fill="lightblue" stroke-width="3"; stroke="purple" /> </svg> This example will generate the following rectangle: