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
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 faster website loading times?
A). Small file size
B). Large number of colors
C). Complex animations
D). External dependencies
Which CSS property is commonly used to style SVG elements?
A). fill
B). color
C). background-color
D). stroke
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
What is the advantage of SVG for responsive web design?
A). Scalability
B). Animations
C). File size
D). Compatibility
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