From Microformats Wiki
Jump to navigation Jump to search

adr singular properties

This is an atttempt to determine the singular properties in adr.


An address typically would only one post office box. Mail could not be split between two boxes.


This could in theory be plural, if there were things like suite number, building. etc.


<span class="street-address">Alexandra House</span>
<span class="street-address">Oldham Terrace</span>

Part of the NCT's address (


"Suburb, City" pairings are a use case for multiple localities. While in many cases this can be accomplished using a single locality containing a comma, in some cases addresses are published containing other information between the two localities, such as the postcode in this address:

<span class="locality">Coogee</span> <span class="postal-code">2034</span>
<span class="locality">Sydney</span>


"Near FOO" is commonly used in UK addresses for villages too small to be recognised without that designation by the Royal Mail. The "near FOO" label covers an area which is not a conurbation (i.e. an hCard "locality") so might more accurately be marked up as a region. Generally a county will be included in the address too, which should also be marked up as a region:

<div class="vcard">
  <div class="adr">
    <div class="extended-address fn org">Newick Park Hotel</div>
    <span class="locality">Newick</span>,
    <span class="region">Near Lewes</span>,
    <span class="region">East Sussex</span>
    <span class="postal-code">BN8 4SB</span>


An address typically would only one have one postal code.


<span class="country-name">Scotland</span>,
<span class="country-name">UK</span>.