<!DOCTYPE html> <html> <head> <style> img { position: absolute; top: 0px; } </style> </head> <body> <img src="/static/demo/images/smiley.gif" width="42" height="42"> <h1>This is a heading</h1> </body> </html>