VML Web page file basic format _VML related

Source: Internet
Author: User
<textarea id="runcode88790"><ptml xmlns:v= "urn:schemas-microsoft-com:vml" xmlns:o= "Urn:schemas-microsoft-com:office:office" > < Head> <STYLE> v\:* {behavior:url (#default #vml);} O\:* {behavior:url (#default #vml);} </STYLE> <TITLE> title of page </TITLE> </HEAD> <BODY> </ Body> </HTML></textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
<textarea id="runcode80504"><ptml xmlns:v> <HEAD> <meta http-equiv= ' content-type ' content= ' text/html;charset=gb2312 ' > < Meta name= ' GEMERATPR ' content= ' Network programmer Companion (lshdic) 2005 ' > <TITLE> title of page </TITLE> <STYLE> v\:* { Behavior:url (#default #vml);} </STYLE> </HEAD> <BODY> </BODY> </HTML></textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Obviously, the structure of the HTML page is very similar, the meaning of the above tag can be understood as follows (//symbol is explained after)

Key statement that indicates that the page creates an XML name domain namespace named V
The page declaration section isThe enclosing statement can be some web page information, a resource definition statement
Describes the encoding used by the Web page, text/html indicates that the page is an HTML page, gb2312 that the page is encoded as "Simplified Chinese (GB2312)"
Description of the development tools used by the Web page
<title>The title of the page</title>


Web page Body part

This is the body part of the Web page (tag, which is where we write various VML tags (lines, circles, rectangles), and so on. It is also supported to write HTML tags, JS, or VBS scripts here


Web page concluding sentence

As for the xmlns:o= "urn:schemas-microsoft-com:office:office" name field, it refers to office-related markup processing extensions (such as skew effects, etc.). But I think it doesn't make much sense to learn it (it is mainly to modify VML graphics, but most of those that decorate the markup I seem to be designed for Office art, it doesn't make sense or even work in a Web page, it's a skew effect I prefer, but with VML's padding, Three-dimensional effect processing is dwarfed), because the VML itself is quite sound. So I'm not going to tell you about it, but to make you fully proficient in vml!.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.