align image in center inside figure css code example Example: css for displaying image center text-align: center;