Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
TThulasiram
Last edited Jul 27, 2023
Created on Jul 27, 2023
Forked from HTML Starter

This example showcases two fundamental SVG shapes—a red circle and a hollow rectangle with a thick lavender stroke—rendered directly in an HTML page. It demonstrates how to use the SVG API to define geometry with attributes like `cx`, `cy`, `r` for circles and `x`, `y`, `width`, `height` for rectangles. The code relies on inline SVG elements within an `index.html` file, with no external JavaScript or CSS libraries, serving as a minimal introduction to vector graphics markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes