English

What is wrong in the following coding? <FONT face = comic sans ms color = Red>

Advertisements
Advertisements

Question

What is wrong in the following coding?

<FONT face = comic sans ms color = Red>

Code Writing
Advertisements

Solution

String values of attributes must be enclosed within quotes.

The correct code is as follows:

<FONT face = "comic sans ms" color = "Red">
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: HTML- I: Basic HTML Elements - Assignment [Page 128]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 3 HTML- I: Basic HTML Elements
Assignment | Q 18. (iii) | Page 128
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×