G'day

>> It's good practise to have the title attribute also on images (in 
>> addition to the ALT), as some browsers won't display the ALT Text as a 
>> tooltip.

> Does that validate? I didn't think title was a valid attribute for the img
tag?

Should do:

>From http://www.w3.org/TR/html401/index/attributes.html:

Title:
   All elements but BASE, BASEFONT, HEAD, HTML, META, PARAM, SCRIPT, TITLE

See also http://www.w3.org/TR/html401/struct/objects.html#edef-IMG which
says the img element can have core attributes

The title attribute is one of them:
http://www.w3.org/TR/html401/sgml/dtd.html#coreattrs

Regards
--
Bert Doorn, Web Developer
Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites





******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to