How to set background image of a webpage?
Answers
Answered by
0
To set the background image of a webpage, use the CSS style. Under the CSS <style> tag, add the property background-image. The property sets a graphic such as jpg, png, svg, gif, etc. HTML5 do not support the <body> background attribute, so CSS is used to change set background image.
Answered by
0
The property of 'background' is mainly a tachygraphy property for setting the separate background properties
• In order to set the background image of any webpage, always use the CSS style.
• Under the CSS <style> tag, and put the property background-image.
• The property sets a graphic such as jpg, png, SVG, gif, etc.
• HTML5 do not let the <body> background feature, so CSS is used to vary set background image.
Hope it helped...
Similar questions