gambar pusat html
<div class="verticalhorizontal">
<img src="image.jpg" alt="centered image" />
</div>
<style>
.verticalhorizontal {
display: table-cell;
height: 300px;
text-align: center;
width: 300px;
vertical-align: middle;
}
</style>
Xabos