SVG fundamentals
✓ Published0🌍 Public
This example showcases the fundamental building blocks of SVG rendering, displaying a single blue circle and a large yellow rectangle within a 500 by 500 pixel canvas. The SVG markup is embedded directly in the HTML page, requiring no external data or libraries. It demonstrates how to use basic SVG elements—specifically the `<circle>` and `<rect>` tags—with their core attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `fill`. The example serves as a minimal, self-contained illustration of vector graphics creation using plain SVG and HTML.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed