Answer the question
In order to leave comments, you need to log in
Question about optimizing img and background-image - reducing the count. requests?
Hello everyone Let
's immediately introduce the product page
They write that images that relate directly to the product, the content should be in the tag <img src="name.jpg" alt="">
And if we want to add the block "our objects", "company information", "reviews" to the product page - this information is duplicated on each page product - then the images should be specified as
<div class="image" style="background-image: url('name.jpg')"></div>
img
Answer the question
In order to leave comments, you need to log in
For SEO, there is no difference whether the picture is a background or through img. In extreme cases (if there is paranoia), you can close it in noindex, but I would not do that either.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question