<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML</title>
<style>
img {
width: 100px;
border: 2px solid gray;
padding: 5px;
}
img:hover {
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5);
}
</style>
</head>
<body>
<h2> Thumbnail image </h2>
<p> Click on image to open the large image in new tab </p>
<a target="_blank" href="https://s3.studytonight.com/tutorials/uploads/pictures/1629364531-101156.jpeg">
<img src="https://s3.studytonight.com/tutorials/uploads/pictures/1629364531-101156.jpeg">
</a>
<p target="_self"> Click on image to open the large image in same tab </p>
<a href="https://s3.studytonight.com/tutorials/uploads/pictures/1629364464-101156.jpeg">
<img src="https://s3.studytonight.com/tutorials/uploads/pictures/1629364464-101156.jpeg">
</a>
</body>
</html>