Question: a star moving away from the earth will have a spectrum containing?
Answer: If the star is moving away from us, its waves are effectively stretched out when they reach Earth, increasing their wavelength. This shifts the star's spectral lines toward the red end of the spectrum.