+ 1
Why won't the image load?
I'm coding a webpage with HTML and the image I'm using for it for load. I added the coding in for it to show,and put the image in a sub folder,but all it shows is the alternate text I put in.
15 odpowiedzi
+ 4
Write </a> before closing tag </body>
+ 4
Your anchor and paragraph ending tags are missing
+ 4
You messed up everything :) The p tag is also not closed and comes inside h1 tag which is not correct
+ 3
sorry for all the mistakes. this is what I get for making it at 2:00 in the morning 😂
+ 2
Can you add a bit of your code?
Maybe that can help us answer your question
+ 2
What i can see is that your anchor tag <a> is not close like </a> try to do and check again
+ 2
You also misspelled src as scr, which isn't a real attribute for links.
+ 1
<html>
<head>
<title>Gio</title>
</head>
<body>
<h1><p align="center"><strong>Welcome to my website</strong></h1>
<a href="https://m.youtube.com/channel/UCBwHW7zh8vhEbUL6_o6oo4w"target="_blank">
<img scr="assets/images/t.jpg" alt="image isn't loading"width="150"height="150" />
</body>
</html>
+ 1
Where is your HTML file located?
+ 1
In a folder,inside another folder,which is named assets
+ 1
which ones?
+ 1
@Giovanni use a code editor, lile Visual Studio code or Sublime
+ 1
What does your code look like now? Also one way to check if there is a problem with the path versus he code would be to put a link to a photo already online temporarily just to see if it appears.
0
I'm not using html5 tags,I'm using basic html
0
I have fixed just about everything,but the image still doesn't want to load up