0
Html img problem
expert coders I need assistance. Iām following a YouTube tutorial making a website with html and css. thereās a number of images Iām try to get show in html. the youtubers code uses style=ābackground-img(url)ā but I have images on my pc. ??? I donāt think using url is they way to go cause the images arenāt sourced from a link on the internet
4 Answers
0
It's not background-img
It's
background-image=url("image.jpg");
0
its. style=ābackground-img:url()ā
should i try = instead of :
0
See in css section in #board
https://code.sololearn.com/WJS6Y4YU7f7p/?ref=app
0
i figured it out. sorry didnt give the whole line correctly. the code was css linked to html. <div class=āportfolio-img-backgroundā style=ābackground-image: url(). in the style element i only typed style=ābackground-img: url(). plus i had to different folders named images so i changed the name. thank for your time.