Mozilla.com

  1. Mozilla Developer Center
  2. 대문
  3. The adr microformat

The adr microformat

이 문서는 Firefox 개발자들을 위한 정보입니다. Firefox 3

adr 마이크로포맷은 물리적인 위치(physical location)나 우편 주소(mailing address)를 표현합니다.

Properties

Property Description
type 주소의 유형. 다음의 값들 중 하나 이상이 올 수 있습니다.
work
직장 주소.
home
자택 주소.
pref
A preferred address; use this to indicate that a specific address is the preferred address for the person or company it's associated with.
postal
우편 주소(mailing address).
dom
국내 주소(domestic address).
intl
국제 주소(international address).
parcel
소포(packages and parcels)를 수령할 주소.
post-office-box 사서함 번호(있는 경우).
street-address 도로 주소(street address). 배열일 수 있으며, 한 줄이 하나의 도로 주소를 나타냅니다.
extended-address The extended address.
locality The locality for the address.
region The region for the address.
postal-code 우편 번호(postal or ZIP code).
country-name 국가명.

Methods

adr 마이크로포맷에는 하나의 메소드가 있습니다.

toString()

주소를 문자열로 반환합니다.

addressString = adr.toString();

Parameters

없음.

반환값

단일 문자열로 된 주소.

Page last modified 07:09, 22 Jul 2008 by Suguni

Files (0)