Skip to main content
100%

SVG fundamentals

✓ Published0🌍 Public
SSimran
Last edited Dec 20, 2022
Created on Dec 20, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, using two circles to show how the `fill` property controls color. The first circle uses the default black fill, while the second explicitly sets `fill="red"`. The code creates a static SVG graphic directly in an HTML page, relying on the native SVG API within the markup. It serves as a minimal introduction to vector graphics structure, using only the `<circle>` element and its `cx`, `cy`, and `r` attributes, with no additional libraries or interaction.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes