how to align text on right side in html code example Example: html how to center text <p style="text-align:center;">Centered paragraph.</p>