English

How can you specify that the text of a DIV element should use font Calibri, if it is available, or Arial?

Advertisements
Advertisements

Question

How can you specify that the text of a DIV element should use font Calibri, if it is available, or Arial?

Code Writing
Very Short Answer
Advertisements

Solution

To do this, we must specify many typefaces, as indicated below, separated by commas:

div { font-family: Calibri, Arial; }
shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Cascading Style Sheets (CSS) - Assisted Practice [Page 273]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×