Svg Vs Html Performance. Performance of canvas versus SVG At the core of the traditional HTMLCSS developers toolkit is a set of nested boxes describing offset margin border and padding known as the box model. Another interesting point is.
SVG HTML Canvas. . With SVG each object you draw gets added to the browsers internal model which makes your life as a developer somewhat easier but at some costs in terms of performance.
Variations on the box theme are sufficient to describe most page layouts but in some complex applications its necessary to render something more interesting like diagonal lines or polygons.
The short answer. As a standalone format or when mixed with other XML it uses the XML syntax. SVG can be modified through script and CSS. Canvas can be modified through script only.