Tryit Editor v1.4

<html> <head> <style type="text/css"> p.rightmargin { margin-right:25% } </style> </head> <body> <p style="text-align:right">This is a right aligned paragraph with no margin specified</p> <p class="rightmargin" style="text-align:right">This is a right aligned paragraph with a specified right margin</p> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself