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

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 UTC