Which CSS property is commonly used to style SVG elements?
A). fill
B). color
C). background-color
D). stroke
Which file format is SVG written in?
A). XML
B). HTML
C). JSON
D). CSS
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
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
Which of the following is a benefit of using SVG for animations?
A). Scalability and smooth animations
B). Limited color options and slow rendering
C). Fixed size and resolution
D). Static appearance
What is the typical file size of SVG compared to raster image formats?
A). Smaller
B). Larger
C). Equal
D). Variable
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 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
How can SVG graphics be embedded into HTML documents?
A). Using <img> tag
B). Using <canvas> tag
C). Using <svg> tag
D). Using <div> tag
How does SVG contribute to faster website loading times?
A). Small file size
B). Large number of colors
C). Complex animations
D). External dependencies