how to text align a img tag in html code example Example: css for displaying image center text-align: center;