SVG_Basics
✓ Published0🌍 Public
This example demonstrates the fundamental structure of an SVG graphic on a bare HTML page, using inline SVG elements to draw a single red circle on a gray canvas. The code uses standard SVG markup for the `<svg>` and `<circle>` tags, with CSS styling applied via the `style` attribute for the border and background color. The circle's position and size are controlled with `cx`, `cy`, and `r` attributes. The page requires no external libraries or JavaScript, relying solely on the browser's native SVG rendering. The example also includes a link to a React-based starter template in the README.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed