MCQ Answer

How to insert a background image in HTML?

How to insert a background image in HTML?

HTML में बैकग्राउंड इमेज लगाने के लिए कौन सा कोड सही है
Topic : HTML Introduction

A. <body background = "img.png">

B. <img background = "img.png">

C. <bg-image = "img.png">

D. None of the above




Correct Answer is :

A. <body background = "img.png">



Explanation

background attribute of body tag is use to set the background image. 

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad