SVG Basics: Rectangles and Squares After circles, rectangles are probably the easiest element to draw in SVG, requiring just one more attribute to complete them. The basic syntax for rectangles requires an x position, y position, width and height: In CSS you can use border-radius to round the visibl