SoFunction
Updated on 2025-04-14

Basic format of VML web page files

<HTML xmlns:v> //Key statement indicating that the web page creates an XML namespace named v
<HEAD> //The web page declaration part, the statements surrounded by <head></head> can be some web page information and resource definition statements
<META http-equiv='Content-Type' content='text/html;charset=gb2312'> //Describe the encoding used by the web page. Text/html means that the page is an HTML web page. gb2312 means that the web page is encoded as "Simplified Chinese (GB2312)"
<Meta name='Gemeratpr' content='Network Programmer's Companion (Lshdic)2005'>//Describe the development tools used for web pages
<TITLE>Title of the webpage</TITLE>
<STYLE> //The content contained is a definition statement for CSS style sheet
v\:*{behavior:url(#default#VML);} //Key statement indicating that the data referenced by the XML name domain "v" is VML markup language
</STYLE>
</HEAD>
<BODY> //Web page text part

//This is the main part of the web page (surrounded by <body></body> tags). From now on, we will write various VML tags (lines, circles, rectangles) and so on. Of course, it is also supported to write HTML tags, JS or VBS scripts here.

</BODY>
</HTML> //Web page end sentence