+ 3
Can anyone tell me how to add an image in background in HTML and CSS. Thanks for help😌😌😌
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");
}
+ 3
<html>
<body background="image link" width="....." height="....." >
</body>
</html>
Or
Body{
Background-image: url("link..." );
}
+ 3
Thanks brother
+ 3
Body
{
Background-image:url("") ;
}
+ 1
Body{
Background-image:url("image.jpg");
}
Insert on your css code
+ 1
But if we want to add the image from internet
+ 1
Background-image: url("");
+ 1
Into ("") link of image
+ 1
background-image: url("link of image");
Is this right
+ 1
Adarsh Addee yes, this is right!
+ 1
Thanks guys
+ 1
Use css
Body{
Background-image: url(the url)
}
+ 1
Thanks brother
+ 1
background: url(image.jpg)
Read this 👇👇
https://www.w3schools.com/cssref/pr_background-image.asp
+ 1
body{
background-image:url("link");
}
+ 1
Ok brother
0
Nana
0
Adarsh Addee Please start your html course.
0
Use that code:
body {
background-image: url ("link");
}