Back to Content

ContactAddress: city property

files/en-us/web/api/contactaddress/city/index.md

latest428 B
Original Source

{{securecontext_header}}{{APIRef("Contact Picker API")}}{{SeeCompatTable}}

The city read-only property of the {{domxref("ContactAddress")}} interface returns a string containing the city or town portion of the address.

Value

A string indicating the city or town portion of the address described by the {{domxref("ContactAddress")}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}