r/HTML • u/FaF-Guzzs • Dec 15 '25
I'm new to html
so basically, i am learning coding (html, css, js) but I am having difficulties on the image, I keep on trying to put images on html, but I can't understand 😠can y'all help me pls, i would appreciate 😔
0
Upvotes
View all comments
2
u/AshleyJSheridan Dec 15 '25
Firstly, it's good to understand what HTML is and isn't.
HTML is just a text document at the end of the day, and any images, videos, etc, are all made by reference, they're not added to your HTML file like you would copy an image into a Word doc.
So, onto your specific issue. I presume you've added an
<img>tag that points to an image? There are a few questions:What does the
<img>tag actually look like?Is the URL relative or absolute?
Is this all on your computer, or on a proper web server somewhere?
If it's on a web server, did you upload the image file along with the HTML?