Which technology is more suitable for creating complex animations and effects?
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 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
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 attribute is used to define the width and height of an SVG element?
A). A. size
B). B. dimensions
C). C. viewBox
D). D. width and height
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
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
Which technology is easier to export and manipulate with external programs?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
Which technology is better for creating interactive graphics and animations?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. None of the above
Which technology is supported by external libraries and frameworks for enhanced functionality?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG