🌍 Public
Viewing a saved revision (read-only)
3c19e5b542a44ef3b6d69ea34c083252
SVG Fundamentals
This example demonstrates fundamental SVG shape elements and their styling within an HTML document, using the SVG namespace directly without additional JavaScript libraries. It shows how circles, rectangles, lines, and a path are rendered with specific coordinates, dimensions, and fill or stroke properties. The code uses inline SVG markup with attributes such as `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `d` for the path, along with presentation attributes like `fill`, `stroke`, and `stroke-width`. The static composition presents primitive shapes with varied colors and strokes to illustrate basic vector graphics capabilities.
AI-generated descriptionA demonstration of SVG shapes.