Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Aalpineblack
Last edited May 21, 2023
Created on May 21, 2023
Forked from HTML Starter

This example demonstrates the fundamental SVG elements for drawing shapes, including a circle with default black fill, a red circle, and a green rectangle with a blue stroke. The static graphic shows how SVG markup defines geometric primitives through attributes like `cx`, `cy`, `r`, `width`, `height`, and `fill`. The code uses plain HTML and JavaScript without any external libraries, embedding SVG directly in the page. It illustrates the basic syntax for positioning and styling vector shapes in a web context.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes