HTML RES
Run
<!DOCTYPE html>
<html>
<head>
	<title>Image Gallery</title>
	<style>
		div.grid {
  margin: 8px;
  border: 2px solid #ccc;
  float: left;
  width: 180px;
}
div.grid img {
  width: 100%;
 
}

div.content {
  padding: 15px;
  text-align: center;
}
@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }

	</style>
</head>
<body>
<div class="grid">
	<img src="https://s3.ap-south-1.amazonaws.com/s3.studytonight.com/tutorials/uploads/pictures/1619765537-79539.jpg" alt="image1" height="160">
	<div class="content">You can add description here.</div>
</div>
<div class="grid">
	<img src="https://s3.ap-south-1.amazonaws.com/s3.studytonight.com/tutorials/uploads/pictures/1619765598-79539.jpg" alt="image2" height="160">
	<div class="content">You can add description here.</div>
</div>
<div class="grid">
	<img src="https://s3.ap-south-1.amazonaws.com/s3.studytonight.com/tutorials/uploads/pictures/1619765656-79539.jpg" alt="image3" height="160">
	<div class="content">You can add description here.</div>
</div>
<div class="grid">
	<img src="https://s3.ap-south-1.amazonaws.com/s3.studytonight.com/tutorials/uploads/pictures/1619765751-79539.jpg" alt="image4" height="160">
	<div class="content">You can add description here.</div>
</div>
</body>
</html>