The governing body of each county or municipality in this State may enact ordinances and promulgate regulations for the care and control of dogs, cats, and other animals and to prescribe penalties for violations.