Using the Textbox Element
This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.
Note As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.
To attach text to a rectangle, you can type the following lines in the <BODY> region of your Web page:
<body> <v:rect style='width:120pt;height:80pt;' fillcolor="red"> <v:textbox> I'm attaching some text to this shape!!! </v:textbox> </v:rect> </body>
To attach a hyperlink to a rounded rectangle that is gradient-filled, you can type the following lines in the <BODY> region of your Web page:
<body> <v:roundrect style='width:80pt;height:30pt;' fillcolor="red"> <v:fill type="gradient" /> <v:textbox> <a href="http://home.microsoft.com/"> Click here</a> </v:textbox> </v:roundrect> </body>
For more information about this element, see the VML specification .
Build date: 2/7/2012