Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

SVG Fundamentals

0 stars0🌍 Public
TThulasiram
Last edited Jul 27, 2023
Created on Jul 27, 2023
Forked from HTML Starter

This example showcases two fundamental SVG shapes—a red circle and a hollow rectangle with a thick lavender stroke—rendered directly in an HTML page. It demonstrates how to use the SVG API to define geometry with attributes like `cx`, `cy`, `r` for circles and `x`, `y`, `width`, `height` for rectangles. The code relies on inline SVG elements within an `index.html` file, with no external JavaScript or CSS libraries, serving as a minimal introduction to vector graphics markup.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed