. . . . "For the purpose of promoting the health, safety, morals or general welfare of the city, the council may by ordinance regulate the location, height, bulk and size of buildings and other structures, the size of yards, courts and other open spaces, and the use of buildings, structures and land for trade, industry, business, residence or other purposes." . . . . . .