Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
TThin Thinzar Htet
Last edited Jan 6, 2025
Created on Jan 6, 2025
Forked from HTML Starter

This example demonstrates fundamental SVG shapes as a static, visually organized reference. It renders red, green, and blue circles of varying sizes, a yellow rectangle with a navy outline, a diagonal line, and an angular path composed of straight segments. The code uses the SVG API directly through inline `<circle>`, `<rect>`, `<line>`, and `<path>` elements within an HTML document. Each shape is styled with explicit `fill`, `stroke`, and `stroke-width` attributes, with no JavaScript or external libraries involved, providing a plain illustration of vector graphics primitives.

AI-generated description

A demonstration of svg shapes.

MIT Licensed

Similar vizzes