Background images and SEO Info on it

0 votes

At the moment I have on my website some images which are defined in the CSS file as a background image.

The code looks like this.

The HTML:

<a href="http://domain.com" title="Website Title" class="image"></a>

The CSS:

 .image {
    background: url("../img/deelnemende-organisaties/arcadis.png") no-repeat;
 }

Due to some other CSS3 effects with this background it isn't possible to change the background to a normal <img> tag.

Now I was wondering what is the best way to use background images and keeping the SEO ranking as high as possible.

I saw some solutions as:

  • Putting text into the <a> tag and then hiding it with CSS with text-indent: -9999em
  • Only put a title attribute on the tag with the text in it
  • Placing a transparent in the tag with the same title as your tag
  • Leave it as I have in my example and building up a so called Image Sitemap in a XML file

Now I'm not sure what is the best solution and I don't wanna screw my SEO ranking by doing something what they call illegal.

Feb 20, 2022 in Others by Kichu
• 19,050 points
334 views

1 answer to this question.

0 votes

Use alt text on a transparent image and then google might factor in a tiny sub KB spacer-like image and that could have an indexing effect however that is speculation  if you main motot is only to improve the seo text indent adds the text content you would have added if it had been an img and is not currently frowned on by Google's indexing algoritham 

answered Feb 21, 2022 by narikkadan
• 63,420 points

Related Questions In Others

0 votes
1 answer

VBA Change Cell colors based on value, and it can deal with single cell and multiple cells changes

Before looping through all of the cells ...READ MORE

answered Jan 21, 2023 in Others by narikkadan
• 63,420 points
443 views
0 votes
1 answer

VBA Help to find a column based on header value and cupy it to an other worksheet

You can break out the "copy column ...READ MORE

answered Jan 26, 2023 in Others by narikkadan
• 63,420 points
1,634 views
0 votes
2 answers

What is white box testing and how is it different from black box testing?

Black Box Testing is a software testing method in ...READ MORE

answered Feb 20, 2019 in Others by preetiagarwal
• 170 points
1,802 views
0 votes
1 answer

seo - images and h1

SEO is speculative at best. Generally, the accepted ...READ MORE

answered Mar 11, 2022 in Digital Marketing by narikkadan
• 63,420 points
548 views
0 votes
1 answer

When to use IMG vs. CSS background-image?

You can transition a div's background image ...READ MORE

answered Jun 10, 2022 in CSS by Edureka
• 12,690 points
687 views
0 votes
1 answer

Convert HTML to an image in Python

webkit2png. The original version is OSX-only, but luckily ...READ MORE

answered Feb 5, 2019 in Python by SDeb
• 13,300 points
17,277 views
0 votes
1 answer

Render HTML to an image

To answer your question, there are a ...READ MORE

answered Feb 8, 2022 in Java by Soham
• 9,700 points
1,559 views
0 votes
1 answer

Background images and SEO

the thing you can do to overcome ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,420 points
962 views
0 votes
1 answer

Yoast SEO remove og description and twitter description on certain page

try this out it wil help ...READ MORE

answered Feb 11, 2022 in Others by narikkadan
• 63,420 points
413 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP