Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
88ingo8ongo
Last edited Aug 29, 2023
Created on Aug 29, 2023
Forked from HTML Starter

This example demonstrates the fundamental building blocks of SVG graphics. It shows a yellow rectangle with a blue border and a filled black circle positioned on a 600 by 600 canvas, with no interactive behavior. The code defines the shapes directly in an HTML file using the inline SVG element. It renders vector primitives, including `<rect>` and `<circle>`, and applies styling through attributes like `fill`, `stroke`, and `stroke-width`. The rendering uses the built-in browser support for SVG, with no additional JavaScript or libraries.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes