🌍 Public
Viewing a saved revision (read-only)
c6c07ad6dfe0432e8c574149cfc77ead
SVG Fundamentals
This example showcases two fundamental SVG shapes—a red circle and a hollow rectangle with a thick lavender stroke—rendered directly in an HTML page. It demonstrates how to use the SVG API to define geometry with attributes like `cx`, `cy`, `r` for circles and `x`, `y`, `width`, `height` for rectangles. The code relies on inline SVG elements within an `index.html` file, with no external JavaScript or CSS libraries, serving as a minimal introduction to vector graphics markup.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.