Answers for "image not show in image tag in html"

8

why aren't my images showing up in html

if it is  in the same folder as the html file, then:
<img src="example.png">
If it is in another folder, make sure you use it like this:
<img src="example-folder/example.png">
Or if the file is hosted online, use the correct protocol(Http/Https).
<img src="https://example.com/file.png">
If it stil does not show, then the file may be corrupted or too large.
Posted by: Guest on September-01-2021

Browse Popular Code Answers by Language