how to display image in center in html code example
Example: image align center
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}