SVG Fundamentals - TDT
This example demonstrates basic SVG shape composition by building a simple face-like figure from a rectangle, circles, and lines. A yellow rectangular head contains two eyes, each made from a black outer circle with a white inner circle, alongside a small blue rectangle and a horizontal line. The code uses core SVG elements including `rect`, `circle`, and `line` within an inline `<svg>` tag, with explicit positioning and fill properties. All rendering is done directly in the browser through raw SVG markup without any external libraries.