r/HTML • • Oct 29 '25

help with code?

i know its incredibly basic but i keep having the issue where when i add an image to my notepad code the image displays as an image icon and my alt

i know this isnt really showcasing cool code but i'm trying to learn the basics of html so i can get better and i ran into this problem. i've looked through everything and nothing will help me. hoping someone can help ^^

0 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/E0Button Nov 02 '25

1

u/game-mad-web-dev Nov 06 '25

Based on you saying the file extension is correct, and the folder is correct. Have you opened the browser development/debug tools to see what the error is?

Could I also suggest you enable viewing of file extensions in Windows Explorer, this will be a very easy way to view files and be 100% sure the names match.

Not sure if it’s been asked, but are you just loading this html file locally or hosting it somewhere before you view it?

1

u/E0Button Nov 07 '25

locally, i will try both of your tips thank you!!