
Benjamin H. answered 08/02/20
Full-Stack Web Developer with CSS experience
You can have the text be in a <div> which is position:absolute. Afterwards, you can then add in whatever position (ex. top, right, bottom left) you want to move the text. Make sure that this is in a container though has position: relative set
Here is an example from w3schools.com: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_text_blocks