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