English

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

Advertisements
Advertisements

Question

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

Options

  • font-name:

  • font:

  • font-family:

  • fontname:

MCQ
Advertisements

Solution

font-family:

Explanation:

A list of fonts that should be used to show a specific element or web page is defined using font-family:.

shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Cascading Style Sheets (CSS) - Assisted Practice [Page 271]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 6 Cascading Style Sheets (CSS)
Assisted Practice | Q 10. | Page 271
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×