It shall be unlawful for the owner or occupant of any lot or parcel of land within the corporate limits and zoning jurisdiction of the city to permit any stagnant water or other deleterious substance to collect or remain thereon. It is unlawful to allow any articles or materials that may be likely to accumulate stale or stagnant water so as to be a breeding area for mosquitoes or other insects or that provides a haven for rodents or insects. Every owner or occupant of such lot or parcel of land, when the same is necessary, shall drain, fill, or otherwise eliminate the condition so as to prevent any such accumulation thereon.