For each element you saw a characteristic set of bright emission lines which could be used to identify the element. This is in fact how elements are identified in the spectra of stars. However, stellar and galactic spectra are typically absorption spectra rather than emission spectra.
Stars emit light over a wide range of wavelengths.
So a stellar spectrum is mostly bright with dark bands which tell us about the composition of the star. Galactic spectra can also tell us about the velocity of the galaxy. When a galaxy is moving rapidly away from us, its spectrum is red shifted, meaning that the characteristic elemental lines are shifted toward the red or toward longer wavelengths. By measuring the amount of this shift, one can determine the velocity of the galaxy. The spectra of five elliptical galaxies are reproduced in the figure on the last page at approximately the same scale.