🌍 Public
Viewing a saved revision (read-only)
e1ac711a50fb427cb0ec18469b6759d8
SVG Fundermentals
This example demonstrates basic SVG shape rendering, showing two overlapping circles and a large rectangle in a fixed 960-by-400 viewport. The circles use `fill` properties to render red and green, while the rectangle applies both a yellow fill and a navy `stroke` with a 10-pixel `stroke-width`. The code uses raw SVG elements—`circle` and `rect`—directly in HTML markup without any JavaScript libraries. Rendering relies on the browser’s native SVG support, with shapes positioned via explicit `cx`, `cy`, `x`, and `y` coordinates. The static composition illustrates vector graphics fundamentals for layout and styling.
AI-generated descriptionA demonstration of SVG shapes.