Computer Science, asked by BrainlySparrow, 14 days ago


 \huge{ \underline{ \underline{ \pink { \sf{Question : }}}}}


How to add background image in html? ​

Answers

Answered by Mutasimsheikh
0

Explanation:

The most common & simple way to add background image is using the background image attribute inside the <body> tag. The background attribute which we specified in the <body> tag is not supported in HTML5. Using CSS properties, we can also add background image in a webpage.

Answered by radharai1255
0

 \huge{ \underline{ \underline{ \pink { \sf{Answer : }}}}}

  • To insert an image in HTML, use the image tag and include a source and alt attribute. Like any other HTML element, you'll add images to the body section of your HTML file. The HTML image element is an “empty element,” meaning it does not have a closing tag
Similar questions