How does SVG handle resizing and scaling of graphics?
A). A. Lossy scaling
B). B. Pixelation
C). C. Lossless scaling
D). D. No scaling support
Which technology is more suitable for creating high-quality scalable graphics?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
Which technology allows direct access to individual elements after drawing?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
How does Canvas handle transparency and overlapping elements?
A). A. By adjusting z-index
B). B. By using CSS opacity
C). C. Through blending modes
D). D. It does not handle transparency
Which technology is more efficient in terms of rendering performance?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
What is the primary purpose of HTML5 Canvas?
A). A. Creating scalable vector graphics
B). B. Rendering bitmap-based graphics
C). C. Storing data
D). D. Handling events
How does Canvas render graphics?
A). A. Using vector-based coordinates
B). B. Using bitmap-based pixels
C). C. Using SVG paths
D). D. Using CSS styles
How does SVG handle animations compared to Canvas?
A). A. Through JavaScript animations
B). B. Using CSS animations
C). C. With SVG-specific animation attributes
D). D. SVG does not support animations
Which technology offers better support for accessibility features?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
What type of elements does Canvas support?
A). A. Scalable vector shapes
B). B. Bitmap images
C). C. Interactive buttons
D). D. SVG paths