html align center of image with text code example Example: css for displaying image center text-align: center;