What is the purpose of using external SVG files in web development?
A). Reusability and maintainability
B). Improved performance
C). Reduced file size
D). Enhanced interactivity
Which file format is SVG written in?
A). XML
B). HTML
C). JSON
D). CSS
Which CSS property is commonly used to style SVG elements?
A). fill
B). color
C). background-color
D). stroke
What type of graphics does SVG use?
A). Vector-based
B). Raster-based
C). Pixel-based
D). Binary-based
Which of the following is a benefit of SVG for high-resolution displays?
A). Sharpness and clarity
B). Blurriness and distortion
C). Small file size
D). Limited color options
How can SVG improve website performance?
A). Faster loading times and reduced file size
B). Slower rendering and increased file size
C). Limited design options
D). Decreased accessibility
How can SVG improve accessibility in web design?
A). Text alternatives and semantic structure
B). High-quality images
C). Flash-based content
D). JavaScript interactivity
How does SVG handle image scaling?
A). Without loss of quality
B). With loss of quality
C). By converting to pixels
D). By reducing image dimensions
How does SVG contribute to cross-browser compatibility?
A). Supported by most modern web browsers
B). Limited support for older browsers
C). Requires additional plugins
D). Only compatible with specific devices
What is the advantage of using SVG for charts and graphs?
A). Interactivity and customization
B). Fixed size and resolution
C). Limited data representation
D). Slow rendering