Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
WWRCIECH
Last edited Dec 21, 2022
Created on Dec 21, 2022
Forked from HTML Starter

This example demonstrates the fundamentals of SVG rendering in a web browser, showing two basic geometric shapes drawn on a 960 by 500 canvas: a green-outlined ellipse and a red vertical line segment. The code uses raw SVG markup inside an HTML document, with inline attributes controlling position, dimensions, stroke color, and stroke width. It relies on the native SVG API and standard HTML structure, requiring no external JavaScript libraries or data sources. The visualization highlights how static vector graphics are declared directly in markup, contrasting with more complex frameworks like React.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes