Viewing a saved revision (read-only)
9077f72c7c9647aab74792c7f7da08cc
SVG Fundamental
This example demonstrates fundamental SVG shapes—circles, rectangles, lines, and a path—arranged on a 960×500 canvas to show basic coordinate placement, fill, and stroke styling. The code uses raw inline SVG elements within an HTML page, with no external JavaScript libraries or data sources. It illustrates how attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `d` control geometry, while `fill`, `stroke`, and `stroke-width` determine appearance. The composition includes overlapping circles, a bordered rectangle, a diagonal line, and a triangle, all rendered directly in the browser via the SVG API.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.