Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Jjv
Last edited May 2, 2023
Created on May 2, 2023
Forked from HTML Starter

This example illustrates fundamental SVG shapes composing a static vector graphic. It depicts a layered bullseye target using circles, a large rectangle with a colored border, and a diagonal line, all positioned within a fixed 960 by 500 coordinate space. The code in `index.html` directly constructs these shapes using raw SVG elements like `circle`, `rect`, and `line`, with styling applied through SVG attributes such as `fill`, `stroke`, and `stroke-width`. No JavaScript or external libraries are used; the rendering is purely declarative SVG markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes