what is the image alt tag

What is the Image Alt Tag (in 2021) – In this article you will learn what is the image alt tag and how you can use it to get a better ranking for your images and a better level of search engine optimisation overall.

If you have a Shopify store, make sure you check my articles:

If you need help with your visibility and ranking on search engines, feel free to check our SEO agency services.

What Is the Image Alt Tag?

The Image Alt tag is an HTML attribute generally applied to images that specifies an alternative text when the image cannot be displayed or to inform search engines on what the image is about.

It is also known as alt text, alt attribute, alternative text or alternative attribute.

When Was the Alt Tag Created?

The alt tag was introduced with in 1995 with the release of HTML 2. At the time, internet connection were quite slow and the alt tag primary function was to display an alternative text while waiting for the images on the page to load.

See also  Toysatfoys.com Success Story

Alt Tags and Accessibility

Alt tags get read aloud by screen readers to visually-impaired users in place of images. For this reason, they are also important for accessibility (source: webaim.org):

Adding alternative text for images is the first principle of web accessibility.

Accessibility Best Practices for Alt Tags

Some of the main accessibility best practices for alt tags are:

  • Be accurate
  • Be succinct
  • NOT be redundant
  • NOT use the phrases “image of …” or “graphic of …” “photo of…”

Why is the Alt Tag Important for SEO?

Image alt tags are important for SEO because they allow search engines to ‘read’ your images. This way search engines like Google understand what your image is about and can index and rank it accordingly.

Ranking images is very important considering over 20% of searches in the US occurs on Google Images (source: sparktoro.com).

SEO Best Practices for Alt Tags

Some of the main SEO best practices for image alt tags are:

  • Add your focus keyword in your alt tag (the focus keyword is the keyword you want your page to rank high for)
  • Be descriptive
  • Make sure your image alt tag is unique (= don’t use the same alt tag for more than one image)

How to Edit the Alt Tag

There are many ways to edit an image alt tag. Mostly it will depend on the content management system (CMS) used.

For the purpose of this tutorial, I am going to consider two of the most popular CMSs, WordPress and Shopify.

I am also giving you some details on how to edit the image alt tag directly from the HTML code.

See also  Toysatfoys.com Success Story

Edit Alt Tag in WordPress

To edit the alt tag in WordPress:

  1. Log into your WordPress admin and click on Media > Library
  2. Select the image you want to edit
  3. Add your alt tag text under Alternative Text

what is an alt tag wordpress

what is an alt tag wordpress

Edit Alt Tag in Shopify

To edit the alt tag of your Shopify products:

  1. Log into your Shopify store and click on All Products
  2. Select the product you want to edit
  3. Click on the image you want to edit
  4. Click on Edit Alt Text and add your alternative text
  5. Click on Save Alt Text

what is an alt tag shopify

what is an alt tag shopify

what is an alt text shopify

Edit Alt Tag in HTML

To edit your image alt tag directly from the HTML code:

  1. Find the page where your image is and open it with a text editor
  2. Find the line of code with your image and edit the alt=”” part of the line

Your line is something like:

<img src=”img_girl.jpg” alt=”Girl in a jacket” width=”500″ height=”600″>




Oval@3x 2

Don’t miss our weekly posts!

We don’t spam! Read our privacy policy for more info.

Related Post

1 Comment

Leave a Comment

Recent Posts

web excellence awards
compress images in bulk with mass image compressor
set up direct debit
uk and northern ireland vat rates
trading online voucher webinars