W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] Should <address> be more general-purpose?

From: Simon Pieters <zcorpan@gmail.com>
Date: Tue, 27 Feb 2007 21:55:30 +0100
Message-ID: <op.tofdqspc7a8kvn@hp-a0a83fcd39d2>
On Tue, 27 Feb 2007 20:40:46 +0100, Andy Mabbett  
<andy at pigsonthewing.org.uk> wrote:

> In message <op.toc4lon97a8kvn at hp-a0a83fcd39d2>, Simon Pieters
> <zcorpan at gmail.com> writes
>
>> should <address> be more general-purpose?
>
> what benefit would that have, over the "adr" microformat?
>
>         <http://microformats.org/wiki/adr>

Ease of use, mostly. It's simpler to say:

    <address>665 3rd St.<br>
    Suite 207<br>
    San Francisco, CA 94107<br>
    U.S.A.</address>

...than:

    <div class="adr">
     <div class="street-address">665 3rd St.</div>
     <div class="extended-address">Suite 207</div>
     <span class="locality">San Francisco</span>,
     <span class="region">CA</span>
     <span class="postal-code">94107</span>
     <div class="country-name">U.S.A.</div>
    </div>

-- 
Simon Pieters
Received on Tuesday, 27 February 2007 12:55:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC