Friday, October 15, 2010

Difference b/w Alt & Title ?

The ALT Attribute for Images

The W3C states that alternate text is “for user agents that cannot display images, forms, or applets, this attribute specifies alternate text.” ALT attributes “let authors specify alternate text to serve as content when the element cannot be rendered normally.” . If an image file cannot be displayed, at least users can see its ALT text. What kind of content should go into an image’s ALT attribute?

The TITLE attribute for Links

The W3C states that a TITLE attribute is meant to offer “advisory information about the element for which it is set.” In short, the TITLE attribute should add additional information that compliments the linked text.
You can check my web page for more info about Web Interactivity :  HTML QUERY

No comments:

Post a Comment