how to insert baground image in html
options
<img background="image.png">
<body baground="image.png">
<bg-image="img.png">
none of the above
Answers
Answer:
.....
Explanation:
.
explain this answer neatly and who will doesn't explain I rate as 1.00 which is equal to bad Orange correct and report its answer therefore please explain it
B) <body background="image.png"> is the correct option to insert a background image in HTML.
This code will set the background image of the HTML page to "image.png". You can also use other CSS properties to modify the background image, such as background-repeat to control how the image is repeated, background-size to control the size of the image, and background-position to control the position of the image.
This will set the background image of the body element to image.png.
Explanation of the options given in the question:
- <img background="image.png">: This is not a valid way to add a background image to a webpage. The <img> tag is used to display an image within the content of a webpage, not as a background.
- <body baground="image.png">: The correct attribute name is background, not baground. However, this attribute is deprecated in HTML5 and should not be used. Instead, the background image should be set using CSS.
- <bg-image="img.png">: This is not a valid HTML tag or attribute.
To know more: -
https://brainly.in/question/12516871?referrer=searchResults
https://brainly.in/question/643321?referrer=searchResults
#SPJ3