Home >Web Front-end >HTML Tutorial >Differences between tag and SVG and VML

Differences between tag and SVG and VML

高洛峰
高洛峰Original
2017-02-08 10:00:531165browse

An important difference between markup and SVG and VML is that has a JavaScript-based drawing API, while SVG and VML use an XML document to describe drawing.

These two methods are functionally equivalent, and either can be simulated using the other. On the surface, they look very different, however, each has strengths and weaknesses. For example, an SVG drawing is easy to edit by simply removing elements from its description.

To remove elements from a tag in the same graphic, you often need to erase the drawing and redraw it.

For more related articles on the differences between tags, SVG and VML, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn