How does the font-weight property affect the appearance of text?
- Adjusts the letter spacing
- Controls the spacing between characters
- Defines the font size
- Determines the thickness of the font characters
The font-weight property in CSS determines the thickness or boldness of the characters in a text. It can take values like normal or bold and numeric values ranging from 100 to 900, where 400 is considered normal and 700 is bold.
Loading...
Related Quiz
- The CSS property ________ can be used to control the amount of space after each paragraph.
- For a CSS Variable to be inherited by all descendants, it should be defined in the :________ pseudo-class.
- You're trying to style the first line of a paragraph to be bold. Which CSS pseudo-element will achieve this?
- The ________ CSS property is used to set an image as the background of an element.
- You want to design a heartbeat animation where a heart icon grows and shrinks continuously. How would you ensure the animation runs smoothly in both directions?