Adding alt tags to background images
- SEO |
I have been implementing images as background-images lately. I feel it offers more flexibility in design. However, this limits the opportunity for the alt tag for the image, so what I have been doing to still reek the benefits of the tag is something like:
<div id="background-img">
<img src="" alt="description" class="hidden">
</div>
Do search engines frown on this method? If so, what other way can I add an alt tag to a background-image?
Thanks.
If you were disappointed in your results today, lower your standards tomorrow.