text: WHen you visit a site, your IP address is given to the server computer.  That computer can then do a name look up on the IP address and see what provider supplied the IP address.  In the name look up, the provider city will be also listed and then they can echo that back to the web page display.