Looks like your question is more related to HTML. Please understand that the tag “Exchange Server Management” is for general questions related to Exchange Server. The HTML related questions are not supported in our community. Thanks for your understanding.
But based on my personal experience, you can try to change the code to this:
<div style="background-image: url('link to image');"></div>