For the purpose of promoting the health, safety, morals and general welfare of the city and of enforcing the provisions of this code relating thereto, this code shall govern and apply to all territory within the jurisdiction of the city and to any public ground or park belonging to the city and located outside of the city. (1984 Code § 1-8; amd. 2005 Code)