SEO - Do you add attributes to your image HTML?

Last updated by Camilla Rosa Silva [SSW] 4 months ago.See history

What do you do when you want images to link to your site? In the case of images, Google will look for the "alt" text and factor this into the search results. So when you ask someone else to link to your site with an image you should always add attributes like "alt" and "title" into the code. Here's an example.

Hold the cursor over the image below and see what happens.

Figure: Bad example - No attributes to the image

Figure: Good example - Search engines will index this text. Scroll over

We open source. Powered by GitHub