Usage and examples of VML
After you introduce namespaces, you can draw graphics directly by using labels.
Example: Draw a line from coordinates (20,20) to coordinates (200,200).
Description: Xmlns:v = "URN:SCHEMAS-MICROSOFT-COM:VML" is essential, is the introduction of VML namespaces.
Better Learning materials:
1. Http://msdn.microsoft.com/zh-cn/library/bb263897.aspx of VML Learning on MSDN
2. http://www.itlearner.com/code/vml/index.html a relatively simple and clear Chinese introductory course
3. http://www.dynamicdrive.com/dynamicindex11/editor.htm Online rendering of the VML map editor, drawing completion can produce the corresponding XML Code.
SVG usage and example SVG is used in HTML in two different ways:
1. Like VML, the SVG label is used directly after the namespace is imported. (Some tutorials say this approach is not available, presumably the development of SVG supports this approach)
It's simple, it's drawing a line, and the syntax is similar to VML.