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> You can see the results in Figure 16.12. Figure 16.12. Using VML.
Tip You can find more on VML at http://msdn.microsoft.com/library/default.asp?url=/workshop/author/vml/ref/default.asp. |