Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> img.ex1 { position: absolute; bottom: 0px; } img.ex2 { position: relative; bottom: -100px; } </style> </head> <body> <img class="ex1" src="smiley.gif" width="42" height="42"> <h1>This is a heading</h1> <img class="ex2" src="smiley.gif" width="42" height="42"> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_position_bottom by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:32 GMT --> </html>
Result:
Try it Yourself - © w3schools.com