Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> h2 { position: absolute; left: 100px; top: 150px; } </style> </head> <body> <h2>This heading has an absolute position</h2> <p>With absolute positioning, an element can be placed anywhere on a page. The heading below is placed 100px from the left of the page and 150px from the top of the page.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_position_absolute by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:30 GMT --> </html>
Result:
Try it Yourself - © w3schools.com