Skip to main content
100%

SVG Fundanmentals

✓ Published1🌍 Public
VValerieChen0987
Last edited Aug 2, 2022
Created on Aug 2, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes—circles, rectangles, and lines—positioned on a 500×500 canvas. It shows how CSS and JavaScript combine to render primitive vector graphics directly in HTML. The code uses native SVG elements like `<circle>`, `<rect>`, and `<line>` within plain HTML, with attributes controlling size, position, fill color, and stroke styling. A partially defined `<path>` element remains empty, highlighting incomplete SVG path syntax. The example serves as a static, code-driven illustration of SVG basics without interactive behavior or external data.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes