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

Re: Styling by attribute-based association?

From: Spartanicus <spartanicus.3@ntlworld.ie>
Date: Fri, 28 Oct 2005 11:14:52 +0100
Message-ID: <n2m-g.fit3m111pagiep5qpkp7640ghi57qffqkk@news.spartanicus.utvinternet.ie>
To: www-style@w3.org

Laurens Holst <lholst@students.cs.uu.nl> wrote:

>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.

Received on Friday, 28 October 2005 10:13:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:21 UTC