🌍 Public
Viewing a saved revision (read-only)
82d431ae1cd24cdca67f8a6f1d18e2b7
SVG Fundamentals
This example demonstrates the fundamental SVG elements for drawing shapes, including a circle with default black fill, a red circle, and a green rectangle with a blue stroke. The static graphic shows how SVG markup defines geometric primitives through attributes like `cx`, `cy`, `r`, `width`, `height`, and `fill`. The code uses plain HTML and JavaScript without any external libraries, embedding SVG directly in the page. It illustrates the basic syntax for positioning and styling vector shapes in a web context.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.