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

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

From: Keryx Web <webmaster@keryx.se>
Date: Tue, 27 Feb 2007 22:21:14 +0100
Message-ID: <45E4A0CA.2020700@keryx.se>
Simon Pieters wrote:
 >
 > 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>

?n all fairness, that's not equivalent information. The first is no way 
near able to be parsed by a machine, converted to vCard, imported into 
an address book, etc.

Microformats provide a granularity and flexibility that make them 
superior to "raw" HTMl for information like this.


Lars Gunther
Received on Tuesday, 27 February 2007 13:21:14 UTC

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