Skip to main content
100%

SVG fundamentals

✓ Published0🌍 Public
SSusan
Last edited Sep 20, 2022
Created on Sep 20, 2022
Forked from HTML Starter

This example showcases the fundamental building blocks of SVG rendering, displaying a single blue circle and a large yellow rectangle within a 500 by 500 pixel canvas. The SVG markup is embedded directly in the HTML page, requiring no external data or libraries. It demonstrates how to use basic SVG elements—specifically the `<circle>` and `<rect>` tags—with their core attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `fill`. The example serves as a minimal, self-contained illustration of vector graphics creation using plain SVG and HTML.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes