SVG Fundamentals
✓ Published0🌍 Public
This example demonstrates two basic SVG shapes: a red circle and a navy line, drawn within an inline `<svg>` element. It shows how static vector graphics can be defined declaratively using SVG’s coordinate system, with the circle centered at (50, 50) and the line spanning from the origin to (100, 100). The code uses plain SVG markup—`<circle>` and `<line>` elements with attributes for position, radius, fill, and stroke—without any JavaScript libraries or data sources. The rendering approach is direct SVG in HTML, highlighting fundamental shape properties and styling.
AI-generated descriptionA demon stateion of SVG shapes
MIT Licensed