Appearance:
font-weight: <value>
Possible Values:
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
Initial Value:
normal
Applies to:
All elements
Inherited:
Yes
Note: Since not all fonts have nine possible display weights some of the weights may be grouped together in assignment. If the specified weight is not available, an alternate will be chosen on the following basis:
• 500 may be switched with 400, and vice versa
• 100-300 may be assigned to the next lighter weight, if any, or the next darker weight otherwise
• 600-900 may be assigned to the next darker weight, if any, or the next lighter weight otherwise
<html>
<head>
<style>
<!--
h1 { font-weight: 800 }
p { font-weight: normal }
-->
</style>
</head>
<body>
<h1>This is the text you<p>want to display</p></h1>
</body>
</html>
This is the text you
want to display