Frequently Asked Questions About VML
This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.
Note As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.
No. Both GIF and PNG are raster (or bit-mapped) formats that can be used to store vector graphics. Raster formats store every pixel, whereas vector formats such as VML use mathematical descriptions or outlines to describe the graphics. Vector graphics stored in a vector-based format are more compact than those stored in raster formats, resulting in faster download times for Web users.
In addition, VML graphics are delivered inline to the HTML page rather than relying on external files, as is the case with GIF and PNG today. This allows VML graphics to scale and interact with other Web page elements as the page is resized, thus improving the end-user experience.
Why is Microsoft supporting another XML-based standard when XML is hardly in use and is young enough as it is?
XML is a powerful yet simple way to represent structured data on the Web, and fully complements HTML for display. VML is one example of the many application-specific, XML-based formats that will be developed and implemented in the coming months. For instance, in the next version of Office, VML will be used to annotate HTML documents -- to preserve formatting information of Office Art graphics between the native Office file format and HTML, thus enabling Office users to switch seamlessly between the two formats.
We expect many vendors to support VML. For example, Autodesk, Hewlett-Packard, Macromedia, and VISIO have pledged support for VML in future versions of their products. Microsoft has pledged support for VML in future versions of its platforms such as Internet Explorer. In addition, VML will be used in the next generation of Office to enable "round-tripping" between the Office format and HTML.
No, it currently doesn't. However, we are working with our VML partners to add animation capability into the VML format. Since VML is based on XML, the tag set can be easily extended for additional functionality.
Does VML replace Macromedia Flash? Didn't Macromedia just submit their Flash format for vector graphics to the W3C?
No. VML is a text-based interchange and delivery format for vector graphics, whereas Flash is a binary format for the delivery of vector-based graphics and animation.
Macromedia did not submit their file format to the W3C. However, they did open their file format up for application developers, Web developers and end users. See http://www.macromedia.com for more information.
Build date: 2/7/2012