Advertisements
Advertisements
प्रश्न
Gagandeep has written the following code to display an image in the background of HTML document:
<BODY BgGround = "Animals.jpeg">
but he is not getting the desired output. Help him in identifying correct code from the following :
पर्याय
<BODY Bg = "Animals.jpeg"><BODY BACK = "Animals.jpeg"><BODY BGIMAGE = "Animals.jpeg"><BODY BACKGROUND = "Animals.jpeg">
MCQ
Advertisements
उत्तर
<BODY BACKGROUND = "Animals.jpeg">
Explanation:
"bgGround" is not an attribute of <BODY> tag. Background attribute of <BODY> is used to display an image in the background of HTML document.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
