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

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

From: Ernest Cline <ernestcline@mindspring.com>
Date: Tue, 2 Dec 2003 11:48:52 -0500
Message-ID: <410-220031222164852625@mindspring.com>
To: www-html@w3.org

Actually, what is needed instead of an inline version of <address> is a URI
for postal addresses.  I was unable to find one, altho the basics of what
its format is should be fairly clear.  Something like:
  "postal://" <country-code> "/" <postal-code> ( "/" <address-line> )+
Thus postal mail intended for me could have a URI like:
  postal://us/29006-1300/Batesburg,SC/351%20Marion%20St./Ernest%20Cline
The basic idea probably needs refining by the UPU or some other body whose
main concern is postal addresses.

Once such a URI scheme existed, then rather than using an inline element,
we could use the following:

<dl>
  <dt>Snail Mail</dt>
  <dd
href="postal://us/29006-1300/Batesburg,SC/351%20Marion%20St./Ernest%20Cline"
>
    <l>Ernest Cline</l>
    <l>351 Marion St.</l>
    <l>Batesburg, SC 29006-1300</l>
  </dd>
  <dt>E-mail</dt>
  <dd href="mailto:ernestcline@mindspring.com">
    ernestcline@mindspring.com
  </dd>
  <dt>Phone</dt>
  <dd href="tel:+18035325230">(803)532-5230</dd>
</dl>

Now whether we should have a block level element such as the proposed
<contact> to serve as a container of related contact information is a
separate question, but once a URI scheme for postal addresses exists, I
fail to see any need for a an inline address element.  Such a URI scheme
would be the preferable choice in my opinion.

(Note: The use of href for the postal: URI is appropriate.  I could see a
user agent calling up a word processor, which would then load a letter
template with the address information already included.)
Received on Tuesday, 2 December 2003 11:48:50 GMT

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