CBSE Class 10 Computer Applications Question 8 of 176

HTML I — Basic HTML Elements — Question 6

Back to all questions
6
Question

Question 6

To specify the background image for the document, Background attribute is used with which of the following tags ?

  1. <BODY>
  2. <HTML>
  3. <P>
  4. None of these
Answer

<BODY>

Reason — "background" is an attribute of the <BODY> tag which is used to specify the background image for the document. The syntax is as follows:

BODY background = "fileame.gif">