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

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

From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Mon, 1 Dec 2003 23:45:08 +0100
To: www-html@w3.org, www-html-editor@w3.org
Message-Id: <200312012345.17534.Christian.Hujer@itcqis.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,


since <quote/> and <blockquote/> as well as <code/> and <blockcode/> are 
counterpart for quotes or listings, I suggest to replace <address/> with 
<addr/> and <blockaddr/>.

Reason: The current element <address/> is block. Sometimes, it's appropriate 
to use inline formatting for addresses:
<p>E-Mail: <a href="mailto:webmaster@w3.org">webmaster@w3.org</a></p>

Examples using the newly suggested elements:

<p>E-Mail: <addr href="mailto:webmaster@w3.org">webmaster@w3.org</addr></p>

<blockaddr>
<l>ITCQIS GmbH</l>
<l>Johanneskirchnerstr. 132</l>
<l>D-81927 München</l>
<l>Germany</l>
</blockaddr>

Reason for renaming <address/> to <blockaddr/>: To be consistent with the 
naming scheme already in use by <quote/> vs. <blockquote/> and <code/> vs. 
<blockcode/>.

Reason for not naming it <address/> vs. <blockaddress/>: This would be a 
semantic change in <address/> which would be inline now but was block in 
previous versions.

Why is it not possible to use the current definition of <address/> for this, 
it could be formatted as inline with CSS?
The current definition of <address/> is block, and as such <address/> is only 
allowed in those elements whose content model includes the block set of 
elements. Changing the CSS display property does not involve changing 
anything about the content model of XHTML.


Greetings
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter (Shareholding CEO)
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/y8R0zu6h7O/MKZkRAsVgAJ9qMOssbj0ZmaoVAGcz0c690u3eDACfQ3d+
zdMLQgF9W7NdRJjnAP4epso=
=4yl9
-----END PGP SIGNATURE-----
Received on Monday, 1 December 2003 17:50:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:53 UTC