English

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

Advertisements
Advertisements

Question

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

Options

  • <BODY>

  • <HTML>

  • <P>

  • None of these

MCQ
Advertisements

Solution

<BODY>

Explanation:

In traditional HTML, the background attribute of the <body> tag (<body background="image.jpg">) is used to tile an image across the entire webpage background.

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: HTML- I: Basic HTML Elements - Assisted Practice [Page 120]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 6. | Page 120
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×