What is the best way to make a header appear over an image?

What is the best way to create an image with text hanging over it? I have tried 1) using a grid and 2) changing the position of the header text to be relative, but it doesn’t look very clean.