Whenever the safety of the public shall require, the Village President, by notice published in the official paper of the Village, shall order that for a period of 20 days from and after the date of the notice no dogs or cats shall be permitted to go abroad any of the streets, lanes, alleys or public places in the Village without being properly muzzled with a secure muzzle or being led by a chain or other secure fastening.