<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div class="main">
<div class="inline-block">
<img src="https://avatars.yandex.net/get-music-content/143117/5e98b5c0.a.4784938-1/200x200" alt="">
<p>Имя</p>
</div>
<div class="inline-block">
<img src="https://snob.ru/indoc/attachments/snob2/18/d0/18d0734dea367556b0215067c1b058e508074e24ca80a5534b0018c5fcbc4b3b.jpg" alt="">
<p>Имя2</p>
</div>
<div class="inline-block">
<img src="https://snob.ru/indoc/attachments/snob2/18/d0/18d0734dea367556b0215067c1b058e508074e24ca80a5534b0018c5fcbc4b3b.jpg" alt="">
<p>Имя3</p>
</div>
<div class="inline-block">
<img src="https://snob.ru/indoc/attachments/snob2/18/d0/18d0734dea367556b0215067c1b058e508074e24ca80a5534b0018c5fcbc4b3b.jpg" alt="">
<p>Имя4</p>
</div>
<div class="inline-block">
<img src="https://snob.ru/indoc/attachments/snob2/18/d0/18d0734dea367556b0215067c1b058e508074e24ca80a5534b0018c5fcbc4b3b.jpg" alt="">
<p>Имя5</p>
</div>
<div class="inline-block">
<img src="https://snob.ru/indoc/attachments/snob2/18/d0/18d0734dea367556b0215067c1b058e508074e24ca80a5534b0018c5fcbc4b3b.jpg" alt="">
<p>Имя6</p>
</div>
</div>
</body>
</html>
.inline-block {
width: 32%;
display: inline-block;
margin: 0 auto;
}
.inline-block img {
width: 100%;
height: 200px;
object-fit: cover;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.