
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<img src="a.jpg" alt = "Al Sheik" width="300px" height="300px" />
</body>
</html>
위의 코드는 내가 참조한 이미지를 표시할 수 없습니다. 내가 뭘 잘못하고 있는지 궁금해서요? 아래는 폴더와 파일의 권한입니다.
-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
답변1
대소문자를 구분합니다.
사진이 호출되면 a.JPG
HTML에 정확하게 작성해야 합니다.
<img src="a.JPG" alt = "Al Sheik" width="300px" height="300px" />