Viewing a saved revision (read-only)
6bfa6833f57e444c8e875ba1a8e28eb7
SVG_fundamentals
This example demonstrates fundamental SVG shapes—a circle, rectangle, and line—drawn directly in an HTML document using the SVG markup language. The visuals show how each element’s geometry and styling are defined through attributes like `cx`, `r`, `x`, `y`, `stroke`, and `fill`. The code creates a static scene with a blue outlined rectangle, a green diagonal line, and a dark circle using simple SVG elements. No JavaScript libraries are used; rendering relies entirely on native browser SVG support. The shapes illustrate basic vector graphics primitives without interactive behavior or data binding.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.