0

Can u tell me how to add image in background in html?

1st Jul 2021, 8:58 AM
Anand Raj
Anand Raj - avatar
4 Risposte
1st Jul 2021, 9:44 AM
The future is now thanks to science
The future is now thanks to science - avatar
0
For me the easiest way is to use css background-image. .yourSelector{ background-image: url("path/your.jpg)" }
1st Jul 2021, 9:05 AM
Fu Foy
Fu Foy - avatar
0
I haven't learner css yet
1st Jul 2021, 2:20 PM
Anand Raj
Anand Raj - avatar
0
You can just append: <style> body {background-color:green;}</style> to the <head> of your html document. https://www.w3schools.com/html/html_css.asp (Second example)
1st Jul 2021, 5:29 PM
Fu Foy
Fu Foy - avatar