📊 HTML
Q. How to define a background image for a web page?
  • (A) <body background = “test.jpg”>
  • (B) <body background image = “test.jpg”>
  • (C) <background = “test.jpg”>
  • (D) <background image = “test.jpg”>
💬 Discuss
✅ Correct Answer: (A) <body background = “test.jpg”>

Explanation: If you want to add a background image instead of a color, one solution is using <body background = “test.jpg”> or with CSS body { background-image: url("test.jpg");}. It specifies a background image for a web page.

Explanation by: Tina Singh
If you want to add a background image instead of a color, one solution is using <body background = “test.jpg”> or with CSS body { background-image: url("test.jpg");}. It specifies a background image for a web page.

💬 Discussion


📊 Question Analytics

👁️
214
Total Visits
📽️
4 y ago
Published
🎖️
Tina Singh
Publisher
📈
96%
Success Rate