0d: 00h: 00m: 00s

🎁 Get 3 extra months of learning β€” completely FREE

That's 90 extra days to master new skills, build more projects, and land your dream job.

Become a PRO
Background Image

🎁 Get 3 extra months of learning completely FREE

Become a PRO
H
2 months ago
Hannahcountry asked

What is the difference between font-weight and font-style in CSS?

Abhay Jajodia
Expert
2 days ago
Abhay Jajodia answered

Hi hannah,

font-weight controls how bold or thin the text is, like normal, bold, or 700.

font-style controls whether the text is slanted, like normal or italic.

If you have more questions, I am here to help 😊

CSS
This question was asked as part of the Learn CSS course.