how to show image in center in css code example Example: css for displaying image center text-align: center;