Galaxies in the Early Universe characterized in absorption and emission