Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
FFerasMorsi
Last edited Feb 4, 2023
Created on Feb 4, 2023
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including a circle, rectangle, line, and path, all rendered directly in an HTML page using inline SVG markup. It shows how basic geometric elements are defined with attributes like cx, cy, r, x, y, width, height, and stroke properties, as well as how paths use coordinate commands such as M and L. The example uses no external libraries, relying purely on native SVG and CSS styling. A navy-bordered rectangle frames the composition, while a yellow line and a black path illustrate stroke rendering and multi-segment path construction.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes