CBSE Class 10 Computer Applications Question 14 of 37

Cascading Style Sheets (CSS) — Question 10

Back to all questions
10
Question

Question 10

What is the correct CSS syntax to change the font name ?

  1. font-name:
  2. font:
  3. font-family:
  4. fontname:
Answer

font-family:

Reason — font-family: is used to define a list of fonts that should be used to display a given element or web page.