css center images in the middle code example
Example 1: How do i allign a pic centre in html
<img src="Sanjith.jpg" class="centre" height = "200" width = "100">
Example 2: how to make text center above image html
#container {
text-align: center;
}
.text {
display: inline-block;
margin: 0 20px 0 20px;
}
.img {
margin: 0 20px 0 20px;
width: 50px;
height: 50px;
}