
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<img src="a.jpg" alt = "Al Sheik" width="300px" height="300px" />
</body>
</html>
El código anterior no puede mostrar la imagen a la que estaba haciendo referencia. Me preguntaba ¿qué estaba haciendo mal? y debajo están los permisos de las carpetas y archivos.
-rwxrwxrwx 1 pipi pipi 100726 Oct 12 16:14 a.JPG
-rw-rw-rw- 1 pipi pipi 2475 Oct 12 18:41 class.php
drwxrwxr-x 2 pipi pipi 4096 Oct 13 15:14 image
-rw-rw-r-- 1 pipi pipi 11321 Sep 28 18:38 index.html
-rw-rw-r-- 1 pipi pipi 431 Oct 13 15:40 index.php
-rw-rw-rw- 1 pipi pipi 157 Oct 12 10:50 me.php
-rw-rw-rw- 1 pipi pipi 447 Oct 12 15:00 my.html
-rw-rw-rw- 1 pipi pipi 2475 Oct 12 18:55 new.html
-rw-rw-rw- 1 pipi pipi 316 Oct 8 10:41 test.php
Respuesta1
Es sensible a mayúsculas y minúsculas.
Si se llama tu imagen, a.JPG
debes escribir exactamente eso en tu HTML.
<img src="a.JPG" alt = "Al Sheik" width="300px" height="300px" />