Which CSS property is used to set the font family for an element?

  • font-family
  • font-size
  • font-style
  • font-weight
The font-family property in CSS is used to specify the font family for an element. This property allows you to define the typeface or font you want to use for text within that element, which can greatly affect the visual style of your website.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *