In the enactment of health ordinances the local board may adopt the ordinances either in the form of a code or each ordinance may be separate and apart by itself.