Is there a way to add Alt Text to a background image? I have a small image in my CSS under “h2” which displays alongside the date of my posts. In the css I have:
background-image: url ('www.thedirectory.com');
I’ve tried placing the usual html code within the parenthesis but it doesn’t work.
- The topic ‘Adding Alt Text to an image’ is closed to new replies.