Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
224WebHub
Last edited Jun 27, 2022
Created on Jun 24, 2022
Forked from HTML Starter

This example demonstrates basic SVG shape rendering within a single HTML page. It shows circles, a rectangle with a colored fill and stroke, a line, and a path element, all positioned on a 900 by 600 pixel canvas. The code uses the SVG API directly through inline XML elements, with attributes like `cx`, `cy`, `r`, `width`, `height`, and `d` to define geometry. CSS and JavaScript are not actively used here; rather, the structure relies purely on declarative SVG markup to produce its static visual output.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes