SVG fundamental
✓ Published0🌍 Public
This example demonstrates the fundamental building blocks of SVG by rendering two red circles and an unfilled blue rectangle with a visible stroke on a 1000-by-1000 canvas. It uses plain SVG elements—`circle` and `rect`—with attributes for position, size, color, and stroke, all defined directly in an HTML document. The page also includes a minimal CSS style block and an HTML comment, though no JavaScript or external libraries are used. The rendering is entirely static, showcasing how SVG shapes are declared inline without any data binding or interaction.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed