Viewing a saved revision (read-only)
bb5bcce856e44bf7b69d719ed9b50039
SVG Fundamentals
This example demonstrates fundamental SVG rendering primitives within a static 960 by 500 viewport, using raw SVG elements without any JavaScript libraries. The code draws a series of circles and rectangles with explicit fill colors, including red, green, blue, and yellow shapes, plus a navy-stroked rectangle and a diagonal line. A separate composition in the lower right uses overlapping blue, black, and unfilled circles to form a simple figure. All shapes are defined declaratively with SVG attributes such as `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, `fill`, and `stroke`, showing basic vector graphic construction directly in HTML.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.