fontWeight

This property is used to set or change the weight of the current font. Setting the fontWeight to normal will not display any changes to the font: it is the current font size. The same goes for a weight of 400: it is the font's normal size. The keyword BOLD increases the fontWeight, while the LIGHT keywords decrease the font's weight. Valid numerical values are multiples of 100 to a maximum of 900. The values for this property are as follows:

BOLD
BOLDER
LIGHTER
NORMAL
100
200
300
400
500
600
700
800
900

syntax:

document.all.elementID.style.fontWeight = "value"

This Property is used to access attributes of the following:

• style • tags