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

Simon Pieters zcorpan at gmail.com
Tue Feb 27 12:55:30 PST 2007


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



More information about the whatwg mailing list