Tryit Editor v1.4

<html> <head> <style> h1.x { position:absolute; left:100px; top:150px; } </style> </head> <body> <h1 class="x">This is a heading</h1> <p>With absolute positioning, an element can be placed anywhere on a page.</p> <p>The LEFT position of the heading is 100 pixels from the left of the page. The TOP position is 150 pixels from the top of the page.</p> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself