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

Keryx Web webmaster at keryx.se
Tue Feb 27 13:21:14 PST 2007


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





More information about the whatwg mailing list