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 uses a vector-based drawing model?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. None of the above
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
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
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
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
Which technology is more suitable for dynamic rendering of data-driven visualizations?
A). A. Canvas
B). B. SVG
C). C. Both Canvas and SVG
D). D. Neither Canvas nor SVG
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