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

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 UTC