Complete the code to make the text bold.
p {
font-weight: [1];
}The font-weight property controls how thick or thin the text appears. The value bold makes the text bold.
Complete the code to set the font weight to a numeric value for medium thickness.
h1 {
font-weight: [1];
}Numeric font weights range from 100 (thin) to 900 (very bold). The value 400 is the normal weight, which is medium thickness.
Fix the error in the font-weight value to make the text bold.
div {
font-weight: [1];
}The correct CSS value to make text bold is bold. 'bolded' and 'strong' are not valid values for font-weight. 'bolder' is valid but means heavier than the parent font weight, not exactly bold.
Fill both blanks to set the font weight to a numeric value and make the text thicker than normal.
span {
font-weight: [1];
font-weight: [2];
}The first font-weight sets normal weight (400). The second overrides it with 700, which is thicker and equivalent to bold.
Fill all three blanks to create a CSS rule that sets font weight to bold using numeric and keyword values, and then resets to normal.
p {
font-weight: [1];
font-weight: [2];
font-weight: [3];
}The first font-weight sets normal numeric weight (400). The second sets bold keyword. The third resets to normal keyword.