Skip Navigation | Groups

This site uses cookies- for more information see the Cookie Policy | Continue

Tags

FrontPage
Graphics

2008080407 Email to Ronx
 

VML Graphics in a "w3c Standards" Page


VML Graphics

This page was supposed to show how to use VML in a standards based page. This is impossible, since the <html> tag is altered in a non-standards manner.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v="urn:schemas-microsoft-com:vml" 
xmlns:o="urn:schemas-microsoft-com:office:office" 
xmlns:st2="urn:schemas:contacts" 
xmlns1="http://www.w3.org/TR/REC-html40">

In the above <!doctype..> and <html> tag, using VML adds

xmlns:v="urn:schemas-microsoft-com:vml" 
xmlns:o="urn:schemas-microsoft-com:office:office" 
xmlns:st2="urn:schemas:contacts" 
xmlns1="http://www.w3.org/TR/REC-html40"

   to the <html> tag, which is not standard. VML and standards based HTML cannot coexist.