VML Font-Weight Attribute
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.
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.
Defines the thickness of the letters of the font. Read/write. String.
<v: element style="font-weight: expression ">
The values are the same as the standard HTML style attributes. Values include:
|bolder||Heavier than normal.|
|lighter||Lighter than normal.|
|100||At least as light as the 200 weight.|
|200||At least as bold as the 100 weight and at least as light as the 300 weight.|
|300||At least as bold as the 200 weight and at least as light as the 400 weight.|
|500||At least as bold as the 400 weight and at least as light as the 600 weight.|
|600||At least as bold as the 500 weight and at least as light as the 700 weight.|
|800||At least as bold as the 700 weight and at least as light as the 900 weight.|
|900||At least as bold as the 800 weight.|
VML Standard Attribute
The font weight is bold.
<v:line from="50 100" to="400 100"> <v:fill on="True" color="red"/> <v:path textpathok="True"/> <v:textpath on="True" string="VML Text" style="font:normal normal bold 36pt Arial"/> </v:line>