CSS Property: Font-weight | HTML Dog

You are here: Home → References → CSS → Properties →

font-weight, font-style, font-variant, and text-transform.

Font weight can also be specified as part of the font shorthand property.

Possible Values

ValueDescription
normalStandard weight. Equivalent of 400.
boldBold weight. Equivalent of 700.
bolderBolder than the inherited font weight.
lighterLighter than the inherited font weight.
100Lightest.
200Bolder than 100, lighter than 300.
300Bolder than 200, lighter than 400.
400Bolder than 300, lighter than 500. Equivalent of normal.
500Bolder than 400, lighter than 600.
600Bolder than 500, lighter than 700.
700Bolder than 600, lighter than 800. Equivalent of bold.
800Bolder than 700, lighter than 900.
900Boldest.
inherit
initial
unset

The nine font weights can not be relied on. These weights are dependent on weight subsets of a font being available. Whereas a font may contain nine weights, it may also contain fewer; simply for normal and bold, for example.

Advertise Here! On a long-established, well-read, well-respected web development resource.

Example

.chubbybaby { font-weight: bold; }

Browser support

Supported by all modern browsers.

Main menu

  • Tutorials
    • HTML
    • CSS
    • JavaScript
  • Techniques
  • Examples
  • References
    • HTML
      • Tags
      • Attributes
      • Characters
    • CSS
      • Properties
      • Selectors
      • Values

Supplemental menu

  • About Us
  • Contact Us
  • Link to Us
  • Advertise With Us
  • Web Hosting
  • Site Map
  • Home
Search ↑ Top

Từ khóa » Html Td Style Font Bold