SVG Fundamentals
This example demonstrates the fundamental building blocks of SVG graphics by rendering basic shapes—a circle, a rectangle, a line, and a path—within a static 500-by-500 canvas. It shows how each shape uses distinct attributes for positioning, sizing, and styling, including fill colors, stroke colors, and stroke widths. The code uses raw SVG elements directly in the HTML, with no external JavaScript libraries or data sources. It highlights the declarative nature of SVG, where shapes are defined as markup tags and geometric properties are set as attributes, contrasting filled and stroked appearances.