(a) Scope of authority. The mayor and council of the city shall have the right and authority to tax, license, regulate and control by ordinance, all businesses, occupations, trades, callings, pursuits and professions and any and every other type of commercial activity conducted or carried on in the city, and which under the Constitution and laws of this State are subject to license, regulation and tax. (b) License restrictions. The mayor and council shall also have the right by ordinance to fix and prescribe the amount of said taxes and licenses; to provide where the same shall be paid; to provide for the revocation of any or all licenses issued pursuant to this Section; and to provide penalties for the violation of any of the provisions thereof.