Interactive online courses HTML Academy
2026-03-09 14:12 Diff

To set the coordinates of the rectangle, use the attributes x and y:

<rect width="50%" height="100" x="20" y="50"/>

The coordinates determine the position of the upper-left corner of the shape.