W3C home > Mailing lists > Public > www-html@w3.org > August 2005

Re: XHTML2: Proposal for total separation of semantics from structure

From: Orion Adrian <orion.adrian@gmail.com>
Date: Tue, 30 Aug 2005 14:24:54 -0400
Message-ID: <abd6c8010508301124105d5ee2@mail.gmail.com>
To: www-html@w3.org

On 8/30/05, Laurens Holst <lholst@students.cs.uu.nl> wrote:
> 
> Christoph Päper schreef:
> > I disagree, for element names should carry the main semantics, and
> > prefer myself something like this:
> >
> >   <"some parent with only block children allowed">
> >     <code class="pre"/>
> >   </>
> I disagree with that, class doesn't convey any semantic information, and
> if the code being preformatted is important to the clarity or even
> functioning of the code, it should use <pre> appropriately and not rely
> on the stylesheet.

Why doesn't class convey semantic information? Why aren't we styling
elements based on their semantic classification as opposed to string
that people just make up like "l76blue". I'd rather limit class to
semantic structures and just style those.

-- 

Orion Adrian
Received on Tuesday, 30 August 2005 18:25:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT