SVG V/S Canvas Tags

This thread contains 1 reply, has 2 voices, and was last updated by Darshan Rathod 5 years, 2 months ago.

  • Author Replies
    • #53662

      What is the Difference Between SVG and Canvas tags?

    • #53664

      SVG is XML based, which implies that each element is accessible inside the SVG DOM. In the event that traits of an SVG object are changed, the browser can naturally re-render the shape. Canvas draws 2D designs, on the fly (with a JavaScript). Canvas is rendered pixel by pixel.


      1) Vector-based (made out of shapes)
      2) Multiple graphical elements, which turn out to be a piece of the DOM.
      3) Modified through content and CSS.
      4) Give better execution with fewer items or bigger surface, or both.
      5) Better versatility — can be printed with high caliber at any resolution.


      1) Raster-based (made out of a pixel)
      2) Single HTML element like img tag in conduct.
      3) Modified through content as it were.
      4) Give better execution with the littler surface or bigger number of items, or both.
      5) Poor versatility — not appropriate for imprinting on higher resolution.

Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.


Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.


Copyright 2016-2024 Smart Mentors. All Rights Reserved.



Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha