Missing question:
A the same
B different from each other
C the same as those of several other elements
D the same as each other only in the ultraviolet range.
Answer is: A. the same.
Differente gravity or no atmosphere on Sun don't affect emission spectra of elements.
Emission spectrum of a chemical element is the spectrum of frequencies emitted due to an atom making a transition from a high energy state to a lower energy state. Each element's emission spectrum is unique.