Using alt And title Attributes for Images and Links
Posted on September 9, 2007
Filed Under WordPress SEO |
If your post includes images and/or links, make sure to use alt and title attributes for images, and use title attribute for every link.
The “alt” attribute is designed to be an alternative text description for images. For example, I have the following code to add an image in my website:
<img src=”http://img.hostmonster.com/175×25/1.gif”
alt=”HostMonster” title=”HostMonster Web Hosting” >
If the image from hostmonster server is not available, the image on my site displays the word “HostMonster”.
The “title” attribute should add additional information that compliments the linked text. When you use the WordPress Visual editor to add a link, the pop-up window asks you to fill Link RUL, Target, and Title. Don’t leave the Title blank, give the link a short, brief description.
By default, The Description of a category becomes the category link’s title because the “use_desc_for_title” parameter is set to TRUE as default in “wp_list_cats” function. It’s better to provide additional information in the “Description” field for each category. If the Description field is left blank, many themes put the category name as the link title.
When you’re trying to create effective page content that will appeal to both human visitors and search engine spiders, you need to get the most out of every page element. One way to do this is to use ALT and TITLE attributes wherever you can. They increase your site’s usability level and promotion possibilities if you clearly understand where to put them, when to use them, and why.
This blog provide more info about this topic - Proper Use of ALT and TITLE Attributes.
Comments
Leave a Reply