center text in the middle of img html code example Example: center p html <p style="text-align: center">this is centered</p>