🌍 Public
Viewing a saved revision (read-only)
85565510261c44f1b3c76d2b2266c129
SVG Fundamentals
This example demonstrates fundamental SVG rendering by composing a series of colored rectangles into a simple geometric composition. The code uses raw SVG elements—`<svg>`, `<rect>`, and `fill` attributes—within an HTML page, with no JavaScript or external libraries. It shows how overlapping rectangles with varying positions, sizes, and colors (including red, green, black, and white) build a static visual layout. The rendering approach relies solely on the browser's native SVG support, making it a minimal illustration of vector graphics basics.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.