[whatwg] Meaning of the title= attribute

Matthew Paul Thomas mpt at myrealbox.com
Tue Nov 28 03:30:16 PST 2006


On Nov 27, 2006, at 2:26 PM, Matthew Raymond wrote:
>
> Alexey Feldgendler wrote:
> ...
>> In your opinion, if %Text attributes ("title", "alt") in HTML allowed
>> nested markup somehow, wouldn't the "title" attribute sufficient for
>> fulfilling the use case of captions?
>
>    No, because a caption is not necessarily "advisory information"[1],
> which is what the |title| attribute is defined as containing.
> ...

As in, <html title="PG-13">? Eh, that's not really what title= is for. 
title= is for "please use this for tooltips so alt= isn't ruined". :-)

A useful medium-independent description of title= might be 
"Supplemental text that is relevant only when concentrating on the 
element to which it applies".

-- 
Matthew Paul Thomas
http://mpt.net.nz/




More information about the whatwg mailing list