Svg Vs Html. Capital letters means absolutely positioned lower cases means relatively positioned. The SVG element is a container used to group other SVG elements.
SVG has several methods for drawing paths boxes circles text and graphic images. Canvas is a JavaScript drawing API. The HTML element is a container for SVG graphics.
SVG supports animation transparency gradients and is easily scalable without losing quality.
If you care a lot about the flexibility and responsiveness of the graphic SVG is the way. The vector images are composed of a fixed set of shapes defined by math while the bitmap or raster images are composed of a fixed set of dots called pixels. Immediate mode means that once your drawing is on the canvas the canvas stops keeping track of it. Container element Structural element.