: Will using a pseudo element to place background image on top of an image tag for SEO value have negative consequences Will using a pseudo element like before to place background image on top
Will using a pseudo element like before to place background image on top of an img element for SEO value have negative consequences?
The reason being we want the flexibility of an element with a background image that can maintain its proportion well still getting the SEO value from an img element with an alt attribute.
This mainly become an issue in responsive and the magazine style layout that we are trying to maintain. It makes use of overlapping images.
More posts by @Welton855
1 Comments
Sorted by latest first Latest Oldest Best
I don't see how it would, as long the alt tags are relevant to the image in the HTML, and you are not deceiving your site visitors it would not raise any flags. The background image is coded in CSS behind the main image so it has no value in as far as ranking.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.