Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
MMartina Dossi
Last edited Nov 17, 2024
Created on Nov 10, 2024
Forked from HTML Starter

This example demonstrates the visual output of basic SVG shapes, including circles and lines, rendered within a fixed 900 by 500 coordinate space. It shows how the `fill` and `stroke` attributes apply distinct colors to the interior and outline of each circle, while the two diagonal lines cross the entire drawing area. The page is a minimal HTML document that directly embeds the SVG markup, relying on the browser's native SVG parser rather than a JavaScript library. The code also includes several comment styles (`<!-- -->`, `#`, `//`, and `--`) to illustrate different syntax formats within the SVG content.

AI-generated description

We add the discription of the page. A demonstration of SVG shapes.

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

See also React Starter.

MIT Licensed

Similar vizzes