Skip to main content
100%

SVG Fundamentala

✓ Published0🌍 Public
LLucia Cerchie
Last edited Oct 23, 2022
Created on Oct 23, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes—rect, circle, line, and path—arranged on a 960×500 canvas, with basic styling via inline attributes like fill, stroke, and stroke-width. The code uses plain SVG elements directly in HTML, including a navy-bordered rectangle and a red circle, showing how element order determines paint order instead of CSS z-index. A path element illustrates multiline drawing with an L-shaped stroke, all rendered without any JavaScript libraries or frameworks, relying solely on static markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes