html css center image
snippet in html

css center image

user8028

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

html css center image

user5445

<div style="text-align: center;">
  <img scr='img/example.jpg'>
</div>