Ep. 1 - SVG Basics - MK
✓ Published1🌍 Public
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 descriptionA demo of SVG shapes.
MIT Licensed