Font-Weight Attribute | Internet Development Index |
Defines the thickness of the letters of the font. Read/write String.
Applies To
Tag Syntax
<v: element style="font-weight:expression">
Script Syntax
element.style.fontweight="expression"
expression=element.style.fontweight
Remarks
The values are the same as the standard HTML style attributes. Values include:
| Value | Description |
| normal | Normal. Default. |
| bold | Bold. |
| 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. |
| 400 | Normal. |
| 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. |
| 700 | Bold. |
| 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
Example
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>蒙自县| 克拉玛依市| 萨嘎县| 五大连池市| 青铜峡市| 台江县| 宁德市| 南投县| 来安县| 南靖县| 昌图县| 大方县| 子洲县| 达州市| 澳门| 河西区| 蚌埠市| 玉树县| 吉林省| 扎鲁特旗| 铜鼓县| 青州市| 通许县| 九龙城区| 监利县| 陇川县| 清丰县| 贺州市| 黎平县| 星子县| 太康县| 张北县| 于都县| 类乌齐县| 安化县| 舒兰市| 襄汾县| 禹城市| 奉节县| 九龙城区| 军事|