Section 25.(6) To tax and regulate the keeping of dogs and other animals and fowls; to prohibit animals and fowls from running at large, and to provide for impounding and killing of dogs on which the tax is not paid;