0

How to make a image as background in html?

The image is at some other location and the html file is saved at other location on the computer

10th Aug 2018, 11:56 AM
Vicky singh
Vicky singh - avatar
6 odpowiedzi
+ 1
Use the css background-image property. background-image: url("image link");
10th Aug 2018, 12:03 PM
Itoroabasi Unang
Itoroabasi Unang - avatar
0
Can you give a example
10th Aug 2018, 12:43 PM
Vicky singh
Vicky singh - avatar
0
if image is located in sololearn.com <body style="background-image:url('sololearn.com');"> </body>
10th Aug 2018, 12:50 PM
Itoroabasi Unang
Itoroabasi Unang - avatar
0
Image name is not required?
10th Aug 2018, 12:51 PM
Vicky singh
Vicky singh - avatar
0
If image location is sololearn.com and image name is abcde. jpg what is the format
10th Aug 2018, 12:53 PM
Vicky singh
Vicky singh - avatar
0
The image name will always be in the image URL like sololearn.com/abcde.jpg
10th Aug 2018, 12:55 PM
Itoroabasi Unang
Itoroabasi Unang - avatar