Skip to main content
100%

svg fundamental

✓ Published2🌍 Public
Nnathananiel john agang
Last edited Aug 12, 2024
Created on Aug 13, 2024
Forked from HTML Starter

This example demonstrates basic SVG shapes on a plain HTML page: a red circle with an explicit radius, a purple circle without one, and a line. The code uses native SVG elements like `<circle>` and `<line>`, with CSS-style attributes for positioning and fill colors. It highlights how SVG rendering works in the browser without additional libraries, showing the structure of an inline `<svg>` container. The circles’ missing `r` attribute on the purple one is visible, while the line lacks specified coordinates.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes