
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
선생님, 안녕하세요!
인스타그램 qr코드 이미지를 넣은 후, 이미지를 클릭하였을 때 링크가 타지도록 하고 싶은데요. (임의로 <b> 설정)
머리를 열심히 굴려보아도 <a>처럼 글씨를 클릭하였을 때 링크가 타지지 않아요...ㅠㅠ
어떻게 하면 이미지를 클릭하였을 때 링크가 타질 수 있을까요?

<!DOCTYPE html>
<html>
<head>
<!-- 웹페이지 보이지는 않지만, 필요한 설정을 해두는 곳이에요.
우리가 집을 위해 미리 생각 해놓은 것을 적어두는 곳이라고 할 수 있죠!-->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="토다 - 프로필 링크" />
<meta property="og:description" content="토실토실한 다람쥐" />
<meta property="og:image" content="공유할 이미지" />
<title>토다 - 링크모음</title>
<style>
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
* {
font-family: "Pretendard",serif;
}
body {
background-color: #f0ede8;
}
.profile {
width: 100px;
height: 100px;
border-radius: 100%;
border : 2px solid #EFE0D9;
background-image: url('토다.png');
background-position: center;
background-size: cover;
}
.main {
color: #796763;
font-size: 20px;
margin-top: 20px;
margin-bottom: 10px;
}
.sub {
color: #B79685;
font-size: 14px;
margin-top: 0px;
margin-bottom: 20px;
}
.wrap {
width: 300px;
margin: 30px auto 0px auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.wrap > a {
width: 300px;
height: 50px;
background-color: white;
border-radius: 8px;
margin-bottom: 10px;
font-size: 14px;
font-weight: bold;
color: #796763;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-decoration: none;
box-shadow: 3px 3px 4px 0px #EFE0D9;
}
.wrap > a:hover {
background-color: #EFE0D9;
}
.wrap > b {
width: 300px;
height: 320px;
background-image: url('tosil._.da_qr.png');
background-position: center;
background-size: cover;
border-radius: 8px;
box-shadow: 3px 3px 4px 0px #EFE0D9;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}
<!-- 안에 내용물 정리하고 싶을 때는 displayflex 사용하기. 저 4줄은 같이 다니며, row 혹은 column으로 나뉨-->
</style>
</head>
<body>
<div class="wrap">
<div class="profile"></div>
<h1 class="main">토다</h1>
<p class="sub">토실토실한 다람쥐</p>
<a target="_blank" href="https://www.instagram.com/tosil._.da">토다의 작품보기</a>
<b target="_blank" href="https://www.instagram.com/tosil._.da"></b>
</div>
</body>
</html>
