Local background image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Local background image

How do I put a background image without the url() option? How I put instead of an url a local image?

16th Jul 2017, 3:53 PM
Rafael
2 Answers
+ 1
In your website folder where all the css,html and javascript codes are, you can add a folder named how you want and then put the image in the folder. to link to this folder do <img src="and here you put the path to your image in the foulder.. something like desktop/website/images/image.jpg"/> i hope it helped you out a bit :D
16th Jul 2017, 4:12 PM
TrueJu
TrueJu - avatar
0
thanks, but I mean with the backgroung-image: url() in css, my question is. How I can put a local image, without the url()?
16th Jul 2017, 4:41 PM
Rafael