Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
SSHOGO.U
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from HTML Starter

This example shows a static SVG canvas containing a circle, a rectangle, and a line arranged without interaction. It demonstrates fundamental SVG shape elements—`circle`, `rect`, and `line`—with explicit attributes for position, size, fill, stroke, and stroke-width. The shapes are rendered directly in an HTML page using inline SVG markup, styled via presentation attributes rather than CSS rules. The code uses no external libraries, relying solely on the browser’s native SVG support, and serves as a minimal introduction to constructing vector graphics with plain markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes