• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Vector Markup Language

In the Internet Explorer, you can also use Vector Markup Language (VML) to draw graphics in your web pages.VML is supported by an Internet Explorer behavior, and we’ll see more about behaviors in the next chapter. Here’s an example that draws two figures, an oval and a rectangle, using VML:

(Listing 16-14.html on the web site)

<HTML xmlns:v="urn:schemas-microsoft-com:vml"> 
    <HEAD> 
        <TITLE> 
            Working With VML 
        </TITLE> 
        <STYLE> 
            v\:* {behavior: url(#default#VML);} 
        </STYLE> 
    </HEAD>  
    <BODY> 
        <H1> 
            Working With VML 
        </H1> 
        <BR> 
        <v:oval STYLE="width:100pt; height:75pt" 
            FILLCOLOR="red" STROKECOLOR="blue" STROKEWEIGHT="4pt"> </v:oval> 
        <BR> 
        <v:rect STYLE="width:100pt; height:75pt" FILLCOLOR="green" 
            STROKECOLOR="red" STROKEWEIGHT="2pt"/> 
    </BODY> 
</HTML> 

					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint