+ 5
What is Font-weight?
how to use font-weight
6 Réponses
+ 5
font weight means it is property of css styles used for appearing different than other text in the same page basically it starts 300-900,{normal,lighter,bold } all properties are supported in css3 styles
and above
<p style='font-weight:bold;'>hai</p>
+ 4
a property that specifies the weight or boldness of the font
for example :
p {
font-weight:bold;
}
or you can use numeric font weight (100-900) to provide more than just normal and bold.
0
The font-weight property sets how thick or thin characters in text should be displayed.
Syntax- font-weight: normal|bold|bolder|lighter|number|initial|inherit;
- 2
font-weight property is used making text thicker or fatter.
font-style=bold [wrong]
font-weight=bold [correct]