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 Antworten
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.