+ 2

What is the difference between font weight, font size in CSS?

currently I have been learning css in SoloLearn..I read the font related topics recently..but I'm little confused on font topics.. could anyone explain me this clearly?

5th Mar 2018, 4:42 PM
Thiru Arasu
Thiru Arasu - avatar
3 Answers
+ 16
font weight --> sets how thick - thin the text should be displayed... (boldness) font size ---> sets the dimension of the text to be displayed https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://www.w3schools.com/cssref/pr_font_weight.asp&ved=2ahUKEwiC4fyz0dXZAhXBRY8KHbe5DSAQFjACegQIBhAB&usg=AOvVaw3uVD0MAS-C2VhV1Fg1ZGDy
5th Mar 2018, 4:44 PM
šŸŒ›DTšŸŒœ
šŸŒ›DTšŸŒœ - avatar
+ 4
font-weight: the larger for a character font-size: if it will be smaller or not (the dimensions)
5th Mar 2018, 5:11 PM
NoxFly
NoxFly - avatar
+ 2
font size is a characterics of glyph's heights. it is measured as a height of parenthesis in font (because the parenthesis are the higest gliphs in european fonts). font weight is a characteristic of glyph strokes (lines). may be represented as a pressure on pen. or as a visual weight of gliphs
5th Mar 2018, 5:28 PM
Š’Š°ŃŠøŠ»ŠøŠ¹ Š”Š°Š²ŠµŠ»ŃŒŠµŠ²
Š’Š°ŃŠøŠ»ŠøŠ¹ Š”Š°Š²ŠµŠ»ŃŒŠµŠ² - avatar