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 10:17:46 -0400
Message-ID: <abd6c80105083007171ba6b346@mail.gmail.com>
To: www-html@w3.org

On 8/30/05, Edward Lass <elass@goer.state.ny.us> wrote:
> 
> What benefit is gained by moving semantics from XHTML elements to XHTML
> attribute values? This strikes me as being very similar to using the
> style attribute and then arguing that we've now "separated" presentation
> from content. Well, it's still in the same place. It's just done a
> little differently.

Because I have to do this:

<pre><code>Blah</code></pre>

Pre has semantic properties. Code has semantic properties. They can't
be combined because they are locked to the elements.

<div class="preformatted code">Blah</div>

would be better.

-- 

Orion Adrian
Received on Tuesday, 30 August 2005 14:17:51 GMT

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