'HTML, how to add anchor

Im fairly new to HTML. I ran my site through SEMRush, I would like to know how to add anchor text to this line of code

a href="/blogpost/How-to-Remove-Mold-from-Exterior-Walls" class="block-20 rounded" style="background-image: url('images/How-to-Remove-Mold-from-Exterior-Walls.png');">

I have tried everything I know, I can make the warning go away but then the picture also vanishes fromwebsite



Solution 1:[1]

<a href="/blogpost/How-to-Remove-Mold-from-Exterior-Walls" class="block-20 rounded">
 <div style="background-image: url('images/How-to-Remove-Mold-from-Exterior-Walls.png');">
</a>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Turnus Silver