🌍 Public
Viewing a saved revision (read-only)
6e3ebe5ebe5348eca11488e0ce4b08df
SVG Fundamentals
This example demonstrates basic SVG shape primitives, including circles, rectangles, and lines, within an HTML page. It shows how SVG elements are declared directly in markup with attributes for position, size, fill color, stroke, and stroke width. The code uses the native SVG API via inline `<svg>`, `<circle>`, `<rect>`, and `<line>` tags, with no external libraries or data sources. The rendering is static, with no interaction or animation, serving purely as a foundation for understanding SVG’s coordinate system and styling properties.
AI-generated descriptionA demonstration of SVG shapes