how to center an image in html margin: auto code example
Example 1: css center image
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
Example 2: How do i allign a pic centre in html
<img src="Sanjith.jpg" class="centre" height = "200" width = "100">