CBSE Class 10 Computer Applications Question 152 of 176

HTML I — Basic HTML Elements — Question 25

Back to all questions
25
Question

Question 18(v)

What is wrong in the following coding ?

<BODY color = "Red" background = "Myimage.jpg">
Answer

The attribute used to set the colour of text in a document is text.

The correct code is as follows:

<BODY text = "Red" background = "Myimage.jpg">