'font-weight' Syntax and Note : font weight « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'font-weight' Syntax and Note

Note:

boldness or lightness of the font.

Syntax:
    
element { font-weight: value }
elementID.style.fontWeight = "value"
document.all.elementID.style.fontWeight = "value" // IE onlyRelative values:normal      (the default)bold,bolderlighter.Constant values:100,200,300         (lighter than normal),400         (normal),500,600         (bolder than normal),700         (bold),800,900         (even bolder).    

    

      
      








Related examples in the same category

1.'font-weight' Example
2.'font-weight' is applied to