[whatwg] The IMG element, proposing a CAPTION attribute

Henri Sivonen hsivonen at iki.fi
Wed Nov 22 13:27:31 PST 2006


On Nov 22, 2006, at 19:35, Alexey Feldgendler wrote:

> <label for="fig1" type="title">...</label>

<label> is not good, because it is reasonable to style form control  
labels the way the platform styles labels, but the styling may not be  
appropriate for figure captions. Also, the for attribute is now  
supposed to refer to a form control.

I think it is better to introduce a <figcaption> or something than to  
confuse what <label> is.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list