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
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 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 typical file size of SVG compared to raster image formats?
A). Smaller
B). Larger
C). Equal
D). Variable
Which file format is SVG written in?
A). XML
B). HTML
C). JSON
D). CSS
How can SVG contribute to SEO for web pages?
A). Indexing text content
B). Increasing page load times
C). Adding multimedia content
D). Enhancing user experience
Which of the following is NOT a benefit of using SVG?
A). Animation capabilities
B). Scalability
C). Accessibility
D). Cross-browser support
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
Which CSS property is commonly used to style SVG elements?
A). fill
B). color
C). background-color
D). stroke