+ 3

Can anyone tell me how to add an image in background in HTML and CSS. Thanks for help😌😌😌

23rd Jun 2020, 12:00 PM
Adarsh Addee
Adarsh Addee - avatar
19 Respuestas
+ 10
Adarsh Addee upload your image to www.imgbb.com and get the link. After that use the link For more information : https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app Edit: Adarsh Addee yes! After getting the image link, you can do it this way Body {background-image: url ("image.jpg"); }
23rd Jun 2020, 2:21 PM
Simba
Simba - avatar
+ 3
<html> <body background="image link" width="....." height="....." > </body> </html> Or Body{ Background-image: url("link..." ); }
24th Jun 2020, 3:03 PM
Lâdên 🎭
Lâdên 🎭 - avatar
+ 3
Thanks brother
24th Jun 2020, 3:24 PM
Adarsh Addee
Adarsh Addee - avatar
+ 3
Body { Background-image:url("") ; }
25th Jun 2020, 4:27 AM
Arpita Mallick
Arpita Mallick - avatar
+ 1
Body{ Background-image:url("image.jpg"); } Insert on your css code
23rd Jun 2020, 12:26 PM
Vic Okeke
+ 1
But if we want to add the image from internet
23rd Jun 2020, 12:31 PM
Adarsh Addee
Adarsh Addee - avatar
+ 1
Background-image: url("");
23rd Jun 2020, 12:42 PM
Սոֆի
+ 1
Into ("") link of image
23rd Jun 2020, 12:45 PM
Սոֆի
+ 1
background-image: url("link of image"); Is this right
23rd Jun 2020, 12:46 PM
Adarsh Addee
Adarsh Addee - avatar
+ 1
Adarsh Addee yes, this is right!
23rd Jun 2020, 3:52 PM
Սոֆի
+ 1
Thanks guys
24th Jun 2020, 3:31 AM
Adarsh Addee
Adarsh Addee - avatar
+ 1
Use css Body{ Background-image: url(the url) }
24th Jun 2020, 10:55 AM
TheAdeyemiOlayinka 💗
TheAdeyemiOlayinka 💗 - avatar
+ 1
Thanks brother
24th Jun 2020, 11:50 AM
Adarsh Addee
Adarsh Addee - avatar
+ 1
background: url(image.jpg) Read this 👇👇 https://www.w3schools.com/cssref/pr_background-image.asp
24th Jun 2020, 1:22 PM
Master Genius [ INACTIVE ]
Master Genius [ INACTIVE ] - avatar
+ 1
body{ background-image:url("link"); }
24th Jun 2020, 1:55 PM
Saurabh Saud
+ 1
Ok brother
25th Jun 2020, 8:52 AM
Adarsh Addee
Adarsh Addee - avatar
0
Nana
25th Jun 2020, 1:55 AM
Nana Afriyie
Nana Afriyie - avatar
0
Adarsh Addee Please start your html course.
25th Jun 2020, 8:19 AM
Calviղ
Calviղ - avatar
0
Use that code: body { background-image: url ("link"); }
25th Jun 2020, 10:01 AM
joseffie
joseffie - avatar