text on left and right html code example Example: html align text right <p style="text-align: right;"> Right alignment </p>