🌍 Public
Viewing a saved revision (read-only)
783ffeeafd90417ca872a9effc1c1f84
SVG Fundamentals
This example demonstrates fundamental SVG shape rendering in a static HTML document. It displays four distinct vector primitives: a red circle, a yellow rectangle with a navy stroke, a black diagonal line, and a polyline path formed by three connected points. The code defines these shapes directly in SVG markup with attributes such as `cx`, `cy`, `r`, `width`, `height`, and `d` for the path, using explicit `fill` and `stroke` properties for styling. No external libraries are present; the visualization relies solely on native SVG elements within a 900×450 viewport.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.