Which file format is SVG written in?
A). XML
B). HTML
C). JSON
D). CSS
What is the role of SVG in creating interactive user interfaces?
A). Adding interactive elements
B). Displaying static images
C). Handling user input
D). Managing website layout
What is an advantage of using SVG icons in web design?
A). Scalability and sharpness
B). Fixed size and resolution
C). Limited color options
D). Static appearance
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 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
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 faster website loading times?
A). Small file size
B). Large number of colors
C). Complex animations
D). External dependencies
What is the typical file size of SVG compared to raster image formats?
A). Smaller
B). Larger
C). Equal
D). Variable
What type of graphics does SVG use?
A). Vector-based
B). Raster-based
C). Pixel-based
D). Binary-based
Which CSS property is commonly used to style SVG elements?
A). fill
B). color
C). background-color
D). stroke