VML Markup Language

Source: Internet
Author: User

I learned the VML markup language these two days. I feel this stuff is very useful.
In particular, it can be very flexible when presenting some intuitive web pages to images, such as flowcharts and Good.
VML is like HTML, but HTML is to write and typeset into webpages, while VML is to draw from webpages.
See the following example:
<HTML xmlns: v = "urn: schemas-microsoft-com: vml" xmlns: o = "urn: schemas-microsoft-com: office: office "> <br/> <HEAD> <br/> <META name =" Gemeratpr "content =" FlashVml (Shining Star) 3.0 "> <br/> <META http-equiv =" Content-Type "content =" text/html; charset = gb2312 "> <br/> <META name =" KeyWords "content =" my paintings; flashvml; shining star; vml; VML; vmlflash; vml animation; vector; 2D; 3D; Mu Yuanhua; FYW; drawing board; Online drawing "> <br/> <TITLE> my paintings </TITLE> <br/> <STYLE> <br/> v \: * {Behavior: url (# default # VML) ;}< br/> o \: * {behavior: url (# default # VML );} <br/> </STYLE> <br/> <script> <br/> function window. onerror () {return true ;} // prevent errors in your program <br/> </script> <br/> </HEAD> <br/> <BODY bgcolor = "# EEEEEE" style = 'scrollbar-base-color: purple; scrollbar-shadow-color: white; scrollbar-highlight-color: white; scrollbar-arrow-color: white; '> <br/> <bgsound loop = 1 id = bgsound1> <br/> <bgsound loop =-1 Id = bgsound2> <br/> <script> <br/> // start the UPDATE function to update the initial view of all objects using the hidden function. <br/> var loadtime = null, loadtext = 'if (document. readyState! = "Complete") {window. status = window. status + ". "} else {clearInterval (loadtime); window. status = ""} '; <br/> window. status = 'related graphics program image music loading, please wait '<br/> loadtime = setInterval (loadtext, 200) <br/> function window. onload () {<br/>}< br/> </script> <br/> <v: shape id = vml2 style = "Z-INDEX: 3003; LEFT: 319; WIDTH: 100; POSITION: absolute; TOP: 218; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "stroke Weight = "1px" path = "m0, 0 l0,, -, 41,, 3004, 317, e "/> <br/> <v: shape id = vml3 style =" Z-INDEX:; LEFT; WIDTH: 100; POSITION: absolute; TOP: 221; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, -6, 15,-6, 16,-6, 17,-6, 18,-6, 20,-6 21,-6, 22,-6, 24,-6, 25,-5, 27, -3, 32,, 38,32, 38,33, 38,34, 38,35, 38,36 e "/> <br/> <v: shape id = vml4 style =" Z-INDEX: 3005; LEFT: 389; WIDTH: 100; POSITION: absolute; TOP: 199; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolo R = "black" strokeweight = "1px" path = "m0, 0 l0, 1,, -3006 e "/> <br/> <v: shape id = vml5 style =" Z-INDEX: 386; LEFT: 100; WIDTH: 200; POSITION: absolute; TOP; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, 6, 15, 7, 18, 9, 26, 13, 29, 70, 38 e "/> <br/> <v: shape id = vml6 style =" Z-INDEX: 3007; LEFT: 386; WIDTH: 100; POSITION: absolute; TOP: 228; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, 0, -, 29, -3 e "/> <br /> <V: shape id = vml7 style = "Z-INDEX: 3008; LEFT: 385; WIDTH: 100; POSITION: absolute; TOP: 236; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, 19 e "/> <br/> <v: shape id = vml8 style =" Z-INDEX: 3009; LEFT: 391; WIDTH: 100; POSITION: absolute; TOP: 240; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" w Hite "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, 19,16 e "/> <br/> <v: shape id = vml9 style =" Z-INDEX: 3010; LEFT: 395; WIDTH: 100; POSITION: absolute; TOP: 257; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, 0, 5, 0, 8, 3011, e "/> <br/> <v: shape id = vml10 style =" Z-INDEX; LEFT: 465; WIDTH: 100; POSITION: absolute; TOP: 216; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, 32 e "/> <br/> <v: shape id = vml11 style = "Z-INDEX: 3012; LEFT: 476; WIDTH: 100; POSI TION: absolute; TOP: 221; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, -,-, 4, 27,27, 27,28 e "/> <br/> <v: shape id = vml12 style =" Z-INDEX: 3013; LEFT: 484; WID TH: 100; POSITION: absolute; TOP: 249; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, ,-1 e "/> <br/> <v: shape id = vml13 style = "Z-INDEX: 3014; LEFT: 545; WIDTH: 100; POSITION: absolute; TOP: 197; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight = "1px" path = "m0, 0 l0, 1,-3, 6,-6, 9,-9, 14, -35,37,-37,39,-37,38 e "/> <br/> <v: shape id = vml14 style =" Z-INDEX: 3015; LEFT: 547; WIDTH: 100; POSITION: absolute; TOP: 202; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, 26 e "/> <br/> <v: Shape id = vml15 style = "Z-INDEX: 3016; LEFT: 524; WIDTH: 100; POSITION: absolute; TOP: 226; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, -3017,-531,-3 e "/> <br/> <v: shape id = vml16 style =" Z-INDEX:; LEFT:; WIDTH: 100; POSITION: absolute; TOP: 241; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "Strokeweight =" 1px "path =" m0, 0 l0, 8 e "/> <br/> <v: shape id = vml17 style = "Z-INDEX: 3018; LEFT: 533; WIDTH: 100; POSITION: absolute; TOP: 239; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0,, 17,33, 18 33,19, 33,20, 32,20, 31,20 e "/> <Br/> <v: shape id = vml18 style = "Z-INDEX: 3019; LEFT: 534; WIDTH: 100; POSITION: absolute; TOP: 256; HEIGHT: 100 "coordsize =" 100,100 "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "path =" m0, 0 l0, 3021,-,-1 e "/> <br/> <v: curve id = vml20 style =" Z-INDEX; LEFT: 307; POSITION: absolute; TOP: 295 "from =" "control1 =" 53.25pt, 18pt "control2 =" 147.75pt,-27pt "to =" 2 18.25pt ,-. 75pt "filled =" f "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt"/> <br/> </v: curve> <br/> <v: line id = vml21 style = "Z-INDEX: 3025; LEFT: 643; POSITION: absolute; TOP: 205 "from =" 0, 0 "to ="-16.5pt, 56.25pt "strokecolor =" black "strokeweight =" 1px "> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt" /> <Br/> </v: line> <br/> <v: line id = vml22 style = "Z-INDEX: 3026; LEFT: 659; POSITION: absolute; TOP: 210 "from =" 0, 0 "to ="-24.75pt, 54.75pt "strokecolor =" black "strokeweight =" 1px "> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt"/> <br/> </v: line> <br/> <v: curve id = vml24 style = "Z-INDEX: 3028; LEFT: 643; POSITION: absolute; TOP: 205 "from =" 0, 0 "control1 =" 11.25pt,-6pt "control2 =" 10.5pt,-3.75pt" To = "11.25pt, 3.75pt" filled = "f" fillcolor = "white" strokecolor = "black" strokeweight = "1px"> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt"/> <br/> </v: curve> <br/> <v: line id = vml25 style = "Z-INDEX: 3032; LEFT: 621; POSITION: absolute; TOP: 279 "from =" 0, 0 "to =" 3.75pt, 3pt "strokecolor =" black "strokeweight =" 1px "> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt "/> <Br/> </v: line> <br/> <v: oval id = vml26 style = "Z-INDEX: 3033; LEFT: 609; WIDTH: 16; POSITION: absolute; TOP: 285; HEIGHT: 15 "fillcolor =" white "strokecolor =" black "strokeweight =" 1px "> <br/> <v: shadow on = "t" color = "black" opacity = "52428f" offset = "1.5pt, 1.5pt"/> <br/> </v: oval> <SCRIPT> // The following program is executed quickly to hide the pre-hidden image in time <br/> try {var bodyobjs = document. body. children; for (I = 0; I <bodyobjs. length; I ++) {if (bodyobjs [I]. yincang! = Null) bodyobjs [I]. style. display = 'none';} catch (e) {}< br/> </SCRIPT> <br/> </BODY> <br/> </HTML> <br/>
Save this file as an htm file and you will see the code graph. This graph is generated using a dedicated generation tool. If you want to learn this technology, click the related link below.
Carefree Script: http://www.51js.com/
Tutorial on vml polar path: Google Search

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.