.center { display: block; margin-left: auto; margin-right: auto; width: 50%; }
<img src="paris.jpg" alt="Paris" class="center">