How do we set picture background in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do we set picture background in html

1st Aug 2022, 2:05 PM
Precious Moses
Precious Moses - avatar
2 Answers
+ 1
Have you tried using the search for this section? Many have asked that same question.
1st Aug 2022, 2:19 PM
Justice
Justice - avatar
+ 1
You need to use css, in css type: body { background-image: url("your image path"); } One Note: local images dont work in sololearn just images from url, so if you wanna use your image from phone, you need to upload it to some cloud(like dropbox...) and use url.
1st Aug 2022, 4:12 PM
PanicS
PanicS - avatar