New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Just match background size with the image
https://code.sololearn.com/WfnCzXYuKNX3/?ref=app
We don't usually set span as parent of image element.
Please note that the img tag you wrote is not right, dont use ; as terminator in html tag.