move an image to the middle in html code example Example: aligning image to middle in html <style> .aligncenter { text-align: center; } </style>