Website Developer Question:

Download Job Interview Questions and Answers PDF

Tell us how Does Canvas Differ From SVG?

Website Developer Interview Question
Website Developer Interview Question

Answer:

Here are a few points elaborating the differences between Canvas and SVG.

☛ Canvas depends on the resolution whereas SVG doesn’t.
☛ Canvas does not allow event handlers whereas SVG does provide the support for event handlers.
☛ Canvas is ideal for graphic-intensive games whereas SVG doesn’t intend for gaming.
☛ It works well for small rendering areas whereas SVG may perform better for large rendering areas like Google map.

Download Website Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you fix this code, please?Tell us what Is Difference Between <Window.Onload> And <OnDocumentReady>?