Loading

Quipoin Menu

Learn • Practice • Grow

html / HTML SVG
interview

Q1. What does SVG stand for?
Scalable Vector Graphics, an XML-based format for vector images.

Q2. What are advantages of SVG?
Scalable without quality loss, maintain DOM accessibility, can be styled with CSS and manipulated with JavaScript.

Q3. What basic shapes can SVG draw?
Rectangle (<rect>), circle (<circle>), ellipse (<ellipse>), line (<line>), path (<path>), polygon (<polygon>).

Q4. How do you style SVG elements?
Use attributes like fill, stroke, stroke-width, or CSS properties.

Q5. Can SVG be responsive?
Yes, SVG scales perfectly to any size. Set width/height as percentages or use viewBox attribute.