Can text be displayed over the top of an image?

I’m relatively new to Contentful and would like to know how (if it’s possible) to create a content type which would display text over the top of an image? Many thanks.