W3C home > Mailing lists > Public > www-style@w3.org > October 2005

Re: Styling by attribute-based association?

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Fri, 28 Oct 2005 12:26:40 +0200
Message-ID: <4361FCE0.4060506@students.cs.uu.nl>
To: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT