TML SVG

SVG (Scalable Vector Graphics) is used to draw vector-based graphics using XML syntax.
SVG graphics remain sharp at any size.


Basic SVG Example


SVG Attributes Explained

  • width / height → display size
  • viewBox → coordinate system
  • fill → shape color
  • stroke → border color

Important Notes

  • SVG is scalable and resolution-independent
  • SVG elements are accessible
  • Can be styled with CSS and controlled with JavaScript