• 코드:
​x
 
1
<!DOCTYPE html>
2
<html lang="ko">
3
​
4
<head>
5
    <meta charset="UTF-8">
6
    <title>TCPSchool HTML Images</title>
7
</head>
8
​
9
<body>
10
​
11
    <h1>이미지에 링크 설정</h1>
12
​
13
    <a href="/html/intro">
14
        <img src="/examples/images/img_flag.png" alt="flag" style="width:320px; height:214px; border: 1px solid black">
15
    </a>
16
    <p>이미지를 클릭해 보세요!</p>
17
​
18
</body>
19
​
20
</html>