Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <h1 style="text-align:center">This is heading 1</h1> <h2 style="text-align:left">This is heading 2</h2> <h3 style="text-align:right">This is heading 3</h3> <h4 style="text-align:justify">This is heading 4</h4> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_hn_align_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:30 GMT --> </html>
Result:
Try it Yourself - © w3schools.com