Attribute for <FONT ...>
WEIGHT = integer

Usage Recommendation
Moving to Styles
This effect is done better with styles. See Break the <FONT> Habit

This information is presented for the sake of completion and historical accuracy. Don't use the <FONT ...> tag. It will make your life difficult. See Break the <FONT> Habit for an easy tutorial on styles. If you would like to learn how to set font weights, see Font Weight.
WEIGHT is an attempt by Netscape to allow for degrees of boldness. However, even Netscape no longer supports this attribute. However, you can set degrees of boldness using styles. See Font Weight.

WEIGHT accepts a range from 100 to 900 in multiples of 100. So, for example, 450 would not work because it is not a multiple of 100. The following code sets a font with a weight of 900:

this code produces this
<FONT WEIGHT=900>Whatever</FONT>
Whatever





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.