SVG Fundamentals
✓ Published0🌍 Public
This example demonstrates basic SVG shape rendering by embedding a circle and a rectangle directly in an HTML document using the `<svg>` element. The circle appears at coordinates (50, 50) with a radius of 50, while the rectangle is positioned at (400, 100) with 300×150 dimensions, styled with a purple fill, orange stroke, and a 10-pixel stroke width. The code uses vanilla SVG markup without any external JavaScript libraries or data sources, relying solely on the browser’s native SVG support for visualization.
AI-generated descriptionA demonstration to SVG shapes.
MIT Licensed