Courses
/
HTML5 Mastery: Complete Beginner to Advanced Course
/
SVG & Canvas Graphics
SVG & Canvas Graphics
Revision Quiz
- What does SVG stand for?
- Which SVG attribute defines the internal coordinate system?
- Which HTML element provides a Canvas drawing surface?
- Which JavaScript method obtains a 2D drawing context?
- Are individual Canvas shapes automatically represented as DOM elements?
- Which technology is well suited to scalable vector icons?
Answer Key and Explanations
- Scalable Vector Graphics — SVG represents graphics using vector-based markup.
- viewBox — It defines the coordinate area used by the graphic.
- canvas — It provides a surface for drawing.
- getContext("2d") — It requests the 2D drawing context.
- No. Canvas drawing operations generally produce pixels, not separate DOM elements.
- SVG — It scales cleanly and supports individual vector elements.
Rate this course
★
★
★
★
★
5.0 · 1 rating
Stars show on this course. Your written note stays private.