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 graphics be embedded into HTML documents?
A). Using <img> tag
B). Using <canvas> tag
C). Using <svg> tag
D). Using <div> tag
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
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
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 type of graphics does SVG use?
A). Vector-based
B). Raster-based
C). Pixel-based
D). Binary-based
Which file format is SVG written in?
A). XML
B). HTML
C). JSON
D). CSS
Which technique can be used to animate SVG graphics?
A). CSS and JavaScript
B). HTML and CSS
C). SVG and XML
D). JSON and AJAX
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