Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
AAhmet Cetin
Last edited May 6, 2022
Created on May 6, 2022
Forked from HTML Starter

This example illustrates fundamental SVG shapes—a red circle, a navy rectangle with a peru stroke, and a black line—rendered directly in HTML using inline SVG markup. The code defines a 1000x1000 SVG canvas and positions each shape with explicit coordinate attributes such as `cx`, `cy`, `x`, `y`, and `x1`/`y1`. It demonstrates basic styling through fill and stroke properties, including stroke-width. No external libraries or data sources are used; the visualization relies entirely on native SVG elements within a static HTML document.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes