• Use brief, but descriptive filenames and alt text - Like many of the other parts of the page
targeted for optimization, filenames and alt text (for ASCII languages) are best when they're
short, but descriptive.
Avoid:
• using generic filenames like "image1.jpg", "pic.gif", "1.jpg" when possible
(some sites with thousands of images might consider automating the naming of
images)
• writing extremely lengthy filenames
• stuffing keywords into alt text or copying and pasting entire sentences
• Supply alt text when using images as links - If you do decide to use an image as a link,
filling out its alt text helps Google understand more about the page you're linking to. Imagine
that you're writing anchor text for a text link.
Avoid:
• writing excessively long alt text that would be considered spammy
• using only image links for your site's navigation
• Store images in a directory of their own - Instead of having image files spread out in numerous directories and subdirectories across your domain, consider consolidating your images into a single directory (e.g. brandonsbaseballcards.com/images/). This simplifies the
path to your images.
• Use commonly supported filetypes - Most browsers support JPEG, GIF, PNG, and BMP
image formats. It's also a good idea to have the extension of your filename match with the
filetype.
targeted for optimization, filenames and alt text (for ASCII languages) are best when they're
short, but descriptive.
Avoid:
• using generic filenames like "image1.jpg", "pic.gif", "1.jpg" when possible
(some sites with thousands of images might consider automating the naming of
images)
• writing extremely lengthy filenames
• stuffing keywords into alt text or copying and pasting entire sentences
• Supply alt text when using images as links - If you do decide to use an image as a link,
filling out its alt text helps Google understand more about the page you're linking to. Imagine
that you're writing anchor text for a text link.
Avoid:
• writing excessively long alt text that would be considered spammy
• using only image links for your site's navigation
• Store images in a directory of their own - Instead of having image files spread out in numerous directories and subdirectories across your domain, consider consolidating your images into a single directory (e.g. brandonsbaseballcards.com/images/). This simplifies the
path to your images.
• Use commonly supported filetypes - Most browsers support JPEG, GIF, PNG, and BMP
image formats. It's also a good idea to have the extension of your filename match with the
filetype.
No comments:
Post a Comment