{"id":65135,"date":"2023-06-05T18:15:28","date_gmt":"2023-06-05T18:15:28","guid":{"rendered":"https:\/\/mailrelay.com\/glossary\/alt-text-alternative-text\/"},"modified":"2026-10-02T16:50:36","modified_gmt":"2026-10-02T16:50:36","slug":"alt-text-alternative-text","status":"publish","type":"glossary","link":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/","title":{"rendered":"ALT text (Alternative text)"},"content":{"rendered":"<p>ALT text, or alternative text, is short for <em>Alternate text<\/em>. It is an HTML tag that is added to the images of web pages, where a brief description of the content of the image is included. Search engines can read and interpret the ALT text of an image without the slightest problem, and thereby learn what the image contains in order to rank it.<\/p>\n<h2>1. What is the ALT text?<\/h2>\n<p>The ALT text is nothing more than a phrase associated with an image; it describes the content of the image and gives it context and a purpose. Although current content management systems already make it easy to set the ALT text of images, you can also add the alternative text of an image published on a website by using its <a href=\"https:\/\/mailrelay.com\/en\/glossary\/html\/\">HTML<\/a> code. An example of alternative text of an image would be the following:<\/p>\n<p><code>&lt;img src = \u201camanecer-palmeras.jpg\" alt = \u201camanecer en playa del caribe con palmeras\"&gt;<\/code><\/p>\n<h2>2. What is ALT text used for?<\/h2>\n<p>The ALT text has several uses. But perhaps the most important one has to do with the <a href=\"https:\/\/mailrelay.com\/en\/glossary\/seo-search-engine-optimization\/\" target=\"_blank\" rel=\"noopener\">SEO<\/a> and <a href=\"https:\/\/mailrelay.com\/en\/glossary\/local-seo\/\">local SEO<\/a> ranking of the website whose images have the ALT text tag. Since this information is in the website&#8217;s HTML code, it is read by the <a href=\"https:\/\/mailrelay.com\/en\/glossary\/robots-txt\/\">robots<\/a> or crawlers that index the information to create the results that search engines return.<\/p>\n<p>They also serve to replace the image itself if the page doesn&#8217;t load correctly. In that case, instead of the image, the alternative text would be displayed and thus it is possible to know what the missing image contained.<\/p>\n<p>Last but not least, they are an element that provides web accessibility for visually impaired people, since these people use special screen readers and thanks to the ALT text they can find out what the image contains.<\/p>\n<h2>3. Creating an ALT text<\/h2>\n<p>To create alternative text correctly, so that it fulfills the functions the Alt tag was created for, you need to keep these points in mind:<\/p>\n<ul>\n<li>All the images on your website must have an associated Alt text.<\/li>\n<li>Write it to be read by people, not for search engines.<\/li>\n<li>Avoid stuffing in too many keywords, as you will be detected and your <a href=\"https:\/\/mailrelay.com\/en\/glossary\/negative-seo\/\">SEO will be penalized<\/a>.<\/li>\n<li>Use 4 to 8 words to describe the image.<\/li>\n<\/ul>\n<p>Finally, it is highly recommended that all the images on a website have their Alt tag. However, purely decorative images that are part of the site&#8217;s design can be left without the Alt tag (although in many cases an Alt is added indicating their location and function).<\/p>\n<h2 class=\"wp-block-heading\">Related entries<\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/ecommerce\/\">Ecommerce<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-blast\/\">Email blast<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-broadcasting\/\">Email broadcasting<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/welcome-email\/\">Welcome email<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/deliverability\/\">Email deliverability<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-footer\/\">Email footer<\/a><\/li>\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-marketer\/\">Email marketer<\/a><\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">Discover how <a href=\"https:\/\/mailrelay.com\/en\/\">Mailrelay<\/a> can help you with your email marketing strategy.<\/p>\n","protected":false},"template":"","class_list":["post-65135","glossary","type-glossary","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ALT text (Alternative text) - Mailrelay<\/title>\n<meta name=\"description\" content=\"ALT text, or alternative text, is short for Alternate text.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ALT text (Alternative text) - Mailrelay\" \/>\n<meta property=\"og:description\" content=\"ALT text, or alternative text, is short for Alternate text.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/\" \/>\n<meta property=\"og:site_name\" content=\"Mailrelay\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Mailrelay\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-02T16:50:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@mailrelay\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/alt-text-alternative-text\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/alt-text-alternative-text\\\/\",\"name\":\"ALT text (Alternative text) - Mailrelay\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\"},\"datePublished\":\"2023-06-05T18:15:28+00:00\",\"dateModified\":\"2026-10-02T16:50:36+00:00\",\"description\":\"ALT text, or alternative text, is short for Alternate text.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/alt-text-alternative-text\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/alt-text-alternative-text\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/alt-text-alternative-text\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ALT text (Alternative text)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"name\":\"Mailrelay\",\"description\":\"Mailrelay.com - Email Marketing Software\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\",\"name\":\"Mailrelay\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"width\":613,\"height\":291,\"caption\":\"Mailrelay\"},\"image\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Mailrelay\\\/\",\"https:\\\/\\\/x.com\\\/mailrelay\",\"https:\\\/\\\/www.youtube.com\\\/mailrelay-email-marketing\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ALT text (Alternative text) - Mailrelay","description":"ALT text, or alternative text, is short for Alternate text.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/","og_locale":"en_US","og_type":"article","og_title":"ALT text (Alternative text) - Mailrelay","og_description":"ALT text, or alternative text, is short for Alternate text.","og_url":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/","og_site_name":"Mailrelay","article_publisher":"https:\/\/www.facebook.com\/Mailrelay\/","article_modified_time":"2026-10-02T16:50:36+00:00","twitter_card":"summary_large_image","twitter_site":"@mailrelay","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/","url":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/","name":"ALT text (Alternative text) - Mailrelay","isPartOf":{"@id":"https:\/\/mailrelay.com\/en\/#website"},"datePublished":"2023-06-05T18:15:28+00:00","dateModified":"2026-10-02T16:50:36+00:00","description":"ALT text, or alternative text, is short for Alternate text.","breadcrumb":{"@id":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mailrelay.com\/en\/glossary\/alt-text-alternative-text\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailrelay.com\/en\/"},{"@type":"ListItem","position":2,"name":"ALT text (Alternative text)"}]},{"@type":"WebSite","@id":"https:\/\/mailrelay.com\/en\/#website","url":"https:\/\/mailrelay.com\/en\/","name":"Mailrelay","description":"Mailrelay.com - Email Marketing Software","publisher":{"@id":"https:\/\/mailrelay.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailrelay.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailrelay.com\/en\/#organization","name":"Mailrelay","url":"https:\/\/mailrelay.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","contentUrl":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","width":613,"height":291,"caption":"Mailrelay"},"image":{"@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Mailrelay\/","https:\/\/x.com\/mailrelay","https:\/\/www.youtube.com\/mailrelay-email-marketing"]}]}},"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Jose Argudo","author_link":"https:\/\/mailrelay.com\/en\/blog\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"ALT text, or alternative text, is short for Alternate text. It is an HTML tag that is added to the images of web pages, where a brief description of the content of the image is included. Search engines can read and interpret the ALT text of an image without the slightest problem, and thereby learn&hellip;","_links":{"self":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/65135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"version-history":[{"count":2,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/65135\/revisions"}],"predecessor-version":[{"id":98376,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/65135\/revisions\/98376"}],"wp:attachment":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/media?parent=65135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}