HTML5 Application Development Fundamentals — Question 6

Which term describes the canvas API?

Answer options

Correct answer: D

Explanation

The canvas API is classified as immediate-mode because it allows for drawing operations to be executed right away without retaining the drawn elements for later use. In contrast, xml-based and vector-based refer to different graphic representations, while retained-mode implies a system where the graphics state is preserved, which is not how the canvas API functions.