Check out this code snippet:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
img{
height: 800px;
display: block;
margin:auto;
}
</style>
</head>
<body>
<a href="..."><img src="img.jpg" alt /></a>
</body>
</html>
I am looking to only have the image linked to a different page. However, the current code creates a link that spans the entire width of the browser window. How can I remove the clickable area next to the image?