Skip to main content
100%

Ep. 1 - SVG Basics - MK

✓ Published1🌍 Public
Mmattykuch
Last edited Aug 4, 2022
Created on Aug 3, 2022
Forked from HTML Starter

This example demonstrates how to draw basic scalar vector graphics (SVG) shapes—including circles, rectangles, lines, and a path—using raw inline SVG elements. The blue and grey circles are positioned at different coordinates with a filled blue circle and a grey circle, while a stroked rectangle with no fill shows a border. A grey horizontal line spans from the left, and a black path outlines a polygonal shape with straight-line segments. The rendering occurs directly in an HTML page using the `<svg>` tag, with no external libraries. The shapes use explicit numeric attributes for coordinates, dimensions, and stroke properties.

AI-generated description

A demo of SVG shapes.

MIT Licensed

Similar vizzes