🌍 Public
Viewing a saved revision (read-only)
f27393298b6b457abb999306f8512080
SVG Fundamentals
This example demonstrates the fundamental building blocks of SVG by rendering a single red circle on a blank canvas. It shows how basic shape elements, such as `<circle>`, are positioned using `cx` and `cy` coordinates and styled with the `fill` attribute. The code uses raw SVG within an HTML page, setting a fixed viewport of 960 by 500 pixels. The rendering approach is straightforward declarative markup, with no JavaScript or external libraries involved.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.