Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Ccharlesjou
Last edited Jun 13, 2022
Created on Jun 13, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and attributes, including circles, rectangles, lines, and paths, all rendered directly on an 800-by-400 canvas. It shows how fill, stroke, and stroke-width control appearance, such as a green circle with a thick navy outline and a yellow rectangle with a navy border. A red path combines straight lines and quadratic Bézier curves (Q), while another path uses an arc command (A) to form a curved teardrop shape. The code uses inline SVG elements within an HTML document, with no external JavaScript libraries.

AI-generated description

A SVG Fundamentals

MIT Licensed

Similar vizzes