0

How do I make an image the background? Do I use a background tag and IMG src tag? Pls show me the tag line to do it

10th Apr 2022, 12:41 PM
Zanele
Zanele - avatar
5 Réponses
+ 1
To add as background image, see below link: Use valid url as above specified : To directly add in html, add it in body tag, or in head tag: <style> body { background-image: url("http://www.sololearn.com/uploads/css_logo.png"); background-repeat : no-repeat ; } </style> https://www.sololearn.com/learn/CSS/1104/?ref=app
10th Apr 2022, 12:42 PM
Jayakrishna 🇮🇳
+ 1
Thanks for the help
10th Apr 2022, 12:59 PM
Zanele
Zanele - avatar
0
Can I add my own imagine? And not in the form of a link
10th Apr 2022, 12:45 PM
Zanele
Zanele - avatar
0
Zanele yes you can do that in you pc not here, in your pc your image should be in the same folder with your html file
10th Apr 2022, 12:47 PM
NonStop CODING
NonStop CODING - avatar
0
Zanele You can , see this link.. https://www.sololearn.com/Discuss/2488016/?ref=app But it's work for you only.. If you want work remotely use a web link.. How? That's also discussed in this thread.. Hope it helps...
10th Apr 2022, 12:52 PM
Jayakrishna 🇮🇳