I'm trying to learn html and I'm trying to add an image, I put the image in the same folder as my html file and named it spoder.png
. When I tried to load it up in my browser, the image won't appear and only the alt
message comes up. How do I fix this?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<img src="/spoder.png" alt="image cannot load">
</body>
</html>