Hubble space telescope imaging of star-forming galaxies at redshifts Z>3