The Structure of Scalable Vector Graphics (SVG XML Standard)
Scalable Vector Graphics (SVG) is an XML-based vector image format specified by the W3C. Unlike pixel raster formats (JPEG/PNG), SVG documents define shapes, paths, Bézier curves, text, and gradients through mathematical formulas anchored to a coordinate space established by the viewBox attribute (min-x, min-y, width, height). Because vectors are resolution-independent, they render with surgical sharpness across high-DPI smartphone screens, desktop 4K monitors, and large-format print media without file size inflation.
<!-- Clean W3C SVG 1.1 Vector Anatomy -->
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 2L2 7l10 5 10-5-10-5z" />
<path d="M2 17l10 5 10-5" />
<path d="M2 12l10 5 10-5" />
</svg>