Re: Styling by attribute-based association?

Spartanicus schreef:
>> An attribute instead of a label element is a bad idea.
>>
>> Attributes can contain no markup, such as Ruby, abbreviations, 
>> directionality indications, etc. They also cannot be styled conveniently.
>>
>> That is a major design improvement of XHTML2, and also the reason why 
>> e.g. the alternate text of images has moved out of the alt attribute 
>> into the element’s content.
> 
> For this I would not credit XHTML2 as a "major design improvement" since
> this only applies to the legacy <img> element, not to embedded/included
> images in general.
> 
> The textual alternative to an image and other embedded/included external
> resources can be coded as content and thus marked up since HTML4.

Another example then: the <meta> element.

Okay?


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!

Received on Friday, 28 October 2005 10:24:31 UTC