Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Rrobdavidson01
Last edited Dec 6, 2022
Created on Dec 6, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shape elements in a web page, using static circles and a rectangle to illustrate basic attributes. The code uses plain HTML and JavaScript within a minimal setup, with an SVG canvas of 900 by 500 pixels. It shows a default black circle, a red-filled circle at adjusted coordinates, and a green-stroked rectangle with a thick stroke width of 20. The example highlights how CSS and JavaScript interact with inline SVG markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes