Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
CChristopher Campbell
Last edited Jul 17, 2022
Created on Jul 17, 2022
Forked from HTML Starter

This example demonstrates basic SVG shapes—circles, rectangles, and a line—positioned within a fixed 960×500 coordinate space. It shows how fill, stroke, stroke-width, and radius attributes control appearance, with circles of varying sizes and colors, a yellow rectangle with a navy border, and a diagonal line. The code uses raw SVG markup directly in HTML, with no JavaScript or external libraries, rendering shapes statically via the browser’s SVG engine.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes