+ 1
Html
How to add background image in html
6 Antworten
+ 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.
+ 5
Abel Meseret you need to put Image URL between brackets which you want to put as background
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