Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Ssteven.nguyen2193@gmail.com
Last edited Jan 22, 2024
Created on Jan 22, 2024
Forked from HTML Starter

This example demonstrates fundamental SVG shapes—circles, rectangles, lines, and paths—rendered directly in an HTML page. It shows basic attributes for positioning, sizing, and styling, including fill colors, stroke colors, and stroke widths. The code uses plain SVG markup with no external libraries, manually specifying each shape’s coordinates and properties such as `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `d` for the path. The visualization serves as a minimal reference for constructing vector graphics in a browser.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes