ALT TEXT AND TITLE TEXT
1. The alt text(or alttags) isaddedto an image sothere will be adescriptive textwhenthe image
for whateverreasoncan’tbe displayedtothe visitor.
a. “In situationswhere the image isnotavailable tothe reader,perhaps becausetheyhave
turnedoff imagesintheirwebbrowserorare usinga screenreaderdue toa visual
impairment,the alternativetextensuresthatnoinformationorfunctionalityislost.”
2. Make sure the alt textincludesthe SEOkeywordforthatpage and relatesto/ describesthe
image.
3. Thisis a complete HTML image tag:
a. <img src=“image.jpg”alt=“image description”title=“imagetooltip”>
4. Example:Soif youhave an image that’susedas a buttonto buy productX, the alt textwould
say: “buttonto buyproduct X”.
a. Buy productX nowfor $19!”.
b.
5. If you have imagesinyourdesignthatare purelythere fordesignreasons,you’redoingitwrong,
as those imagesshouldbe inyourCSSand not inyour HTML. If you reallycan’tchange it,give it
an emptyaltattribute
a. <img src="image.png"alt="">
Optimal format
The best format for alt text is sufficiently descriptive, but doesn't contain any
spammy attempts at keyword stuffing. If you can close your eyes, have
someone read the alt text to you, and imagine a reasonably accurate version
of the image, you're on the right track.
Let's look at a few examples of alt text for this image of a delicious-looking
stack of blueberry pancakes:
Okay:<img src="pancakes.png" alt="pancakes">
This alt text is only "okay" because it's not very descriptive. Yes, this is an
image of a stack of pancakes. But, there's more to be said about this image.
Better:
<img src="pancakes.png" alt="Stack of blueberry pancakes with powdered
sugar">
This alt text is a better alternative because it is far more descriptive of what's
in the image. This isn't just a stack of "pancakes" (as the first alt text example
demonstrated); it's a stack of blueberry pancakes with a dusting of powdered
sugar!
Not recommended:
<img src="pancakes.png" alt="">
or
<img src="pancakes.png" alt="pancake pancakes pan cake hotcakes
hotcake breakfast food best breakfast top breakfasts breakfast recipes
pancake recipe">
Neither of these examples are recommended. The first line of code actually
doesn't contain any alt text at all (notice the quotes are empty), while the
second example demonstrates keyword stuffing in alt text.
Image alt text and title text

More Related Content

PPTX
PPTX
Access 3 images gs
PPTX
Presentation
PPTX
HTML in Omeka
PPTX
HTML Images
PDF
Bilder einbinden ist kein Thema, oder?
PPTX
Html images and html backgrounds
PPTX
HTML5 - Insert images and Apply page backgrounds
Access 3 images gs
Presentation
HTML in Omeka
HTML Images
Bilder einbinden ist kein Thema, oder?
Html images and html backgrounds
HTML5 - Insert images and Apply page backgrounds

Recently uploaded (20)

PDF
Digital Marketing Training in Hyderabad
PDF
Retaining SEO Rankings During Website Redesign.pdf
PPTX
Digital-Marketing-Strategy-Trends-and-Best-Practices-for-2025 PPT3.pptx
PPTX
FINAL PPT strategic management lessons.pptx
PPTX
The Rise of Chatbots in Conversational Commerce.pptx
PPTX
Best Web Development Company in Lucknow.pptx
PPTX
CH 1 AN INTRODUCTION OF INTEGRATED MARKETING COMMUNICATION (COMBINE)
PDF
Expert Social Media Marketing Services for Maximum Engagement
PPTX
Transform Your Business with Top Digital Marketing Services_EGlogics.pptx
PDF
Plastic Products-price poster holder pricing board-Loripos.pdf
PDF
CAP 9.- Building the Price Foundation.pdf
PDF
What's New in Digital Q3 25 Webinar 2025
PDF
digital marketing courses online with od
PPTX
Best Mobile App Development Company in Lucknow
PDF
EX Kathmandu _Kailash Mansarovar Yatra 2025 by Nagarjuna Travels.pdf
PPTX
Mastering in Website Competitor Analysis
PPTX
Events Management Overview of Events Management
PPTX
You_Exec_-_Root_Cause_Analysis_Toolbox_Light_Free (1).pptx
PPTX
CH 2 The Role of IMC in the Marketing Process (combined)
PDF
Top-Rated Marketplaces to Buy Verified Cash App Accounts Safely.pdf
Digital Marketing Training in Hyderabad
Retaining SEO Rankings During Website Redesign.pdf
Digital-Marketing-Strategy-Trends-and-Best-Practices-for-2025 PPT3.pptx
FINAL PPT strategic management lessons.pptx
The Rise of Chatbots in Conversational Commerce.pptx
Best Web Development Company in Lucknow.pptx
CH 1 AN INTRODUCTION OF INTEGRATED MARKETING COMMUNICATION (COMBINE)
Expert Social Media Marketing Services for Maximum Engagement
Transform Your Business with Top Digital Marketing Services_EGlogics.pptx
Plastic Products-price poster holder pricing board-Loripos.pdf
CAP 9.- Building the Price Foundation.pdf
What's New in Digital Q3 25 Webinar 2025
digital marketing courses online with od
Best Mobile App Development Company in Lucknow
EX Kathmandu _Kailash Mansarovar Yatra 2025 by Nagarjuna Travels.pdf
Mastering in Website Competitor Analysis
Events Management Overview of Events Management
You_Exec_-_Root_Cause_Analysis_Toolbox_Light_Free (1).pptx
CH 2 The Role of IMC in the Marketing Process (combined)
Top-Rated Marketplaces to Buy Verified Cash App Accounts Safely.pdf
Ad
Ad

Image alt text and title text

  • 1. ALT TEXT AND TITLE TEXT 1. The alt text(or alttags) isaddedto an image sothere will be adescriptive textwhenthe image for whateverreasoncan’tbe displayedtothe visitor. a. “In situationswhere the image isnotavailable tothe reader,perhaps becausetheyhave turnedoff imagesintheirwebbrowserorare usinga screenreaderdue toa visual impairment,the alternativetextensuresthatnoinformationorfunctionalityislost.” 2. Make sure the alt textincludesthe SEOkeywordforthatpage and relatesto/ describesthe image. 3. Thisis a complete HTML image tag: a. <img src=“image.jpg”alt=“image description”title=“imagetooltip”> 4. Example:Soif youhave an image that’susedas a buttonto buy productX, the alt textwould say: “buttonto buyproduct X”. a. Buy productX nowfor $19!”. b. 5. If you have imagesinyourdesignthatare purelythere fordesignreasons,you’redoingitwrong, as those imagesshouldbe inyourCSSand not inyour HTML. If you reallycan’tchange it,give it an emptyaltattribute a. <img src="image.png"alt=""> Optimal format The best format for alt text is sufficiently descriptive, but doesn't contain any spammy attempts at keyword stuffing. If you can close your eyes, have someone read the alt text to you, and imagine a reasonably accurate version of the image, you're on the right track.
  • 2. Let's look at a few examples of alt text for this image of a delicious-looking stack of blueberry pancakes: Okay:<img src="pancakes.png" alt="pancakes"> This alt text is only "okay" because it's not very descriptive. Yes, this is an image of a stack of pancakes. But, there's more to be said about this image. Better: <img src="pancakes.png" alt="Stack of blueberry pancakes with powdered sugar"> This alt text is a better alternative because it is far more descriptive of what's in the image. This isn't just a stack of "pancakes" (as the first alt text example demonstrated); it's a stack of blueberry pancakes with a dusting of powdered sugar! Not recommended: <img src="pancakes.png" alt=""> or <img src="pancakes.png" alt="pancake pancakes pan cake hotcakes hotcake breakfast food best breakfast top breakfasts breakfast recipes pancake recipe"> Neither of these examples are recommended. The first line of code actually doesn't contain any alt text at all (notice the quotes are empty), while the second example demonstrates keyword stuffing in alt text.