® 
What are "Alt" Tags / Attributes ?The "alt" attribute is an alternative for an image, when the image isn't displayed. The "alt" attribute goes inside the img (= image ) tag. The attribute is intended to indicate to a visitor surfing with image display turned off whether he/she should look at the picture or not.The search engines do read and register the text in the "alt" attributes which means there should be a clear connection to the content on the same page. Many search engines, however, ignore "alt" attributes for non-clickable images - but you shouldn't make your pages for them only. In December 2007 I checked in Google some search queries ( from my traffic data ) that as such didn't appear on anyone of my webpages. For one of the queries the "snippet" presented on the search results page consisted partly of the alt text for one of my pictures. This happened after I had switched on"Enable enhanced image search" in Goggle's webmasters' console. So may be it's something new and the alt text is even more important. In May / June 2007 Google introduced "Universal search", which means different sources in Google's data banks are combined in the results on same search results page. For instance both webpages and pictures can come up for one certain query. This means the alt text is now very important. Try to read your text aloud and when you get to a picture read the "alt" text. Does it make sense? The attribute belongs with the picture "call-up" tag and looks like this: Especially if you are using layout tables it's important you include "width" and "height". If you don't and the picture isn't displayed, the full "alt" text is displayed on one line, and if it's long that table column will be extended and your whole page lay-out can get completely messed up. With the "width" and "height" measurements (in pixels) included, the "alt" text is restricted to the space within the rectangle. See picture below - effect of "alt" attribute on "mouse-over" is not shown in the print version. ![]() ![]() "Alt" attribute displayed instead of picture. The "alt" attribute is for pictures only. If you have an image instead of text with an outgoing link, the "alt" attribute should describe the content at the other end of the link - in this case it is instead of the link text. According to a Google video from December 11, 2007, "25 words are enough". That "happens" to be the same number of words recommended as maximum in your "keywords" meta tag ( in English about 250 characters ). In July 2009 a Bing spokesman recommended maximum 100-150 characters ( in English ). All browsers - browser versions - do not treat the "Alt" text in the same way. For instance, every browser doesn't show the yellow rectangle. Some do it if you include the "title" attribute, i.e. use "title" instead of "alt" - but not all. This is why some webmasters include both "title" and "alt" attributes in the <img> tag. More about browsers, see Web Browsers. IE ( Internet Explorer) displays "alt" text on "mouse over" while Firefox displays "title" text. If the picture cannot be found both browsers show the "alt" text. As they should ! |
![]() Cristina's Website Design and Promotion |
What are "Title" Tags and "Title" attributes ?<TITLE> tag, which is a "meta tag" giving the webpage name / heading, is not discussed on this page. For these tags see Don Pedro's Search Engine Marketing - Meta Tags.With tables. The effect of title="..." in the <table> tag is a yellow pop-up rectangle with the title text, when your visitor puts the mouse arrow anywhere inside the table (same as "ALT" attribute for pictures). It stays only close to 10 sec. and then goes off. The "title" attribute is for tables with some content - regardless whether you use that table also for lay-out or not. The search engines read the "title" attribute when it is inside the <table> tag. You write the "title" attribute last: When you specify table width in % it's better not to give the height at all because you wont know in advance what size screen your visitors will use. Let the browser adjust the height according to screen width - a wide screen will make columns wider and therefore shorter. |
|
|||||
Last updated: |
|
since July 27, 2004 according to: www.digits.com/ |
|
|