SVG fundamentals
✓ Published0🌍 Public
This example demonstrates basic SVG shapes rendered directly in an HTML page, using the `circle` and `rect` elements to display geometric primitives with simple fill and stroke styling. The visualization shows a red circle and a yellow rectangle with a navy border, positioned within a 960 by 500 pixel viewport. The code relies on native SVG markup without external libraries or JavaScript, making it a minimal introduction to vector graphics. The CSS properties are applied inline through attributes such as `fill`, `stroke`, and `stroke-width`, illustrating how SVG handles coordinate-based drawing in the browser.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed