Background image | SoloLearn: Learn to code for FREE!

+1

Background image

Can anyone tell how to add background image in code To the phone not pc

7/19/2020 6:39:00 PM

Neema Rathore

7 Answers

New Answer

+2

My image is getting repeated, what should I do that does not repeat?

+1

To the phone

+1

See the below link.. Use valid url; 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"); } </style> https://www.sololearn.com/learn/CSS/1104/?ref=app

+1

Thank u sir ๐Ÿคฉ

+1

See the below link.. Use valid url; 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"); } </style> https://www.sololearn.com/learn/CSS/1104/?ref=app Sir this is not working ๐Ÿ˜”

+1

body { background-image: url(""); background-repeat:no-repeat; }

0