ContactAddress: city property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The city read-only property of the ContactAddress interface returns a string containing the city or town portion of the address.


A string indicating the city or town portion of the address described by the ContactAddress object.


Contact Picker API
# dom-contactaddress-city

Browser compatibility

BCD tables only load in the browser