🌍 Public
Viewing a saved revision (read-only)
6c5a1b19d2f1487caee9e845e4a8c9d7
SVG Fundamentals
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 bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.