The adr microformat
From MDC
This article covers features introduced in Firefox 3
The adr microformat represents an address, either for a physical location or a mailing address.
Contents |
[edit] Properties
| Property | Description |
|---|---|
type
| The type of address. This can be any one or more of the following values:
|
post-office-box
| The post office box number, if there is one. |
street-address
| The street address. This may be an array, one for each line of the street address. |
extended-address
| The extended address. |
locality
| The locality for the address. |
region
| The region for the address. |
postal-code
| The postal or ZIP code for the address. |
country-name
| The name of the country in which the address is located. |
[edit] Methods
There is one method you can call on the adr microformat.
[edit] toString()
Returns the address as a string.
addressString = adr.toString();
[edit] Parameters
None.
[edit] Return value
The address as a single string.