+ 2
how to do background img and fix it or set
This is my assignmnt project. I refer with internet but nothing happen or maybe my laptop cant support or something wrong i dont know
4 Answers
+ 10
in html: <body background="img.jpg">
make sure the image is in the same folder as your html document
I created a little something to illustrate this. https://code.sololearn.com/WXf6R93K8r9f/?ref=app
+ 3
in css : background-image : url ("filepath");
+ 2
Tq so much i apprct
+ 2
add 'fixed' to your css background-image.
body{
background-image : URL("") fixed;
}