How do you put a background image on your html file? I've tried countless times but the image refuses to appear, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you put a background image on your html file? I've tried countless times but the image refuses to appear,

CSS & HTML

6th Dec 2017, 10:35 AM
Lucky Kunene
Lucky Kunene - avatar
3 Answers
+ 12
<img src="file path of your image"/>
6th Dec 2017, 1:26 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 1
can I make a CSS code on a notepad just like html or does it need a different platform?
6th Dec 2017, 10:39 AM
Lucky Kunene
Lucky Kunene - avatar
+ 1
how???? and how do you link them both
6th Dec 2017, 11:43 AM
Lucky Kunene
Lucky Kunene - avatar