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