Skip to main content
100%

Start With SVG

✓ Published0🌍 Public
Yyashsongirephinix@gmail.com
Last edited Mar 5, 2024
Created on Mar 5, 2024
Forked from HTML Starter

This example demonstrates basic SVG shapes rendered directly in HTML, including circles, rectangles, lines, and a path. The visualization shows how primitive geometric elements can be composed to form a static graphic without any data binding or interaction. The code uses the native SVG API through inline markup, with shapes positioned via explicit `x`, `y`, `cx`, and `cy` attributes, and styled using `fill` and `stroke` properties. A prominent green border outlines the canvas bounds, while a pink rectangle with a thick green stroke and a black-outlined red path highlight contrasting visual treatments. The rendering approach is purely declarative, requiring no JavaScript libraries or external data sources.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes