W3C home > Mailing lists > Public > www-html@w3.org > December 2003

Re: XHTML 2.0: Suggestion for <addr/> and <blockaddr/> to replace <address/>

From: Karl Dubost <karl@w3.org>
Date: Fri, 5 Dec 2003 17:27:00 -0500
Message-Id: <2488D6E8-2772-11D8-B146-000A95718F82@w3.org>
To: www-html@w3.org


Le 02 déc. 2003, à 08:11, Lachlan Hunt a écrit :
>  No, it's not presentational, its the result of not being able to 
> specify content models that change depending on the parent element.  
> If there were no distinction between inline an block, then you could 
> have things like paragraphs inside span elements 
> (<span><p>...</p></span>), so the distinction is necessary.

I have thought a lot about it. And I unfortunately do not agree. But I 
guess the usual confusion is between

- Semantics
- Structure
- Presentation

Structure and Presentation are very difficult to distinguish and it 
seems sometimes overkilling to have two tags for the same semantics 
when only the structure has changed.

The structural interpretation IMHO comes from the HTML old times and 
should not matter so much. Though come the difficulty to understand 
what is structure and what is semantics. A list is a structure or 
semantics. It depends on who's looking at it.

You could achieve the same presentation and the same meaning with:

Example 1 (not valid now)
==========
<p>If you need more information write to: <address>Acme Inc. 42, Main 
Street, Douglas City</address>.</p>
==========
in CSS,	p address {display: block;}

AND

Example 2
==========
<p>If you need more information write to:</p>
<address>Acme Inc. 42, Main Street, Douglas City</address>
==========
Received on Friday, 5 December 2003 20:28:30 GMT

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