+ 1
Html
How to add background image in html
5 Answers
+ 7
Use background-image property of css.
background-image:url(image_url);
+ 5
"But it didn't work" is not informative. If you want help, show your code.
0
But it didn't work
0
If you want to apply background image to a whole page you can use inline style attribute:
<body style='background-image:url(https://url-to-your-image);'></body>
Here we use url() function to provide background-image CSS propetry with url value of necessary mage.
0
Use background-image property of css.
background-image:url(image_url);
Try this too
If you want to apply background image to a whole page you can use inline style attribute:
<body style='background-image:url(https://url-to-your-image);'></body>
Here we use url() function to provide background-image CSS propetry with url value of necessary mage.
Hehe You can try this
gud luk