+ 6
Hi everyone. Why can't I upload HTML images. 😔😔
6 Answers
+ 3
Because your link does not include the image file itself.
An example:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Hello World</h1>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Freightliner_M2_106_6x4_2014_%2814240376744%29.jpg/300px-Freightliner_M2_106_6x4_2014_%2814240376744%29.jpg">
</body>
</html>
See that the last group of characters in the image link after the forward-slash (/) ends with .jpg?, That's the name of the image file that needs to be included.
+ 9
Thank you all 😊😊👍🥰
+ 6
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Hello World</h1>
<img src="https://unsplash.com/collections/38/collection-%2338%3A-crew">
</body>
</html>
+ 2
Show one of your code which has this problem.
+ 2
Your code has to be saved in the same folder with your image