+ 4
How do i add a background image in html
13 Antworten
+ 2
thats easy go to you css thing
then type background image then boom
+ 2
<body background="url">
+ 2
{
Background-image:url("image what ever u want thats url");
}
+ 1
first go to css
then add the
background-image
https://code.sololearn.com/WADRlf7Lvn6S/?ref=app
+ 1
https://www.sololearn.com/discuss/1726043/?ref=app
https://www.sololearn.com/discuss/160816/?ref=app
https://www.sololearn.com/discuss/2224549/?ref=app
https://www.sololearn.com/discuss/1283321/?ref=app
https://www.sololearn.com/discuss/1704177/?ref=app
+ 1
//Tadios stop spamming by advertising your codes in others' question post.
+ 1
My problem is my background won't load it's just white
0
And im not on a computer
0
Please see here:
https://code.sololearn.com/WSLZPpBIFgr7/?ref=app
0
background-image: url(“Image URL”)
0
note: use this:
.yourstyle {
background-image: url(“image URL”)
}
0
{
background-image: url(" ");
}
This is the right syntex for using it. You need to apply valid link in url section to make the image aaper in background.
0
To add background image to your whole page, use background-image:url("");
And enter image address, to add a html background image.