The electronic configuration which corresponds to a halogen is
2, 8, 7
Halogens are the elements belonging to group 17.
Explanation for the correct option:
Halogens have 7 electrons in the valence shell.
So, electronic configuration of 2, 8, 7 is halogen.
Explanation for the incorrect option:
Group 2 elements contain 2 electrons in the valence shell.
Electronic configuration of 2, 2 belongs to group 2.
Electronic configuration of 2, 8, 2 belongs to group 2.
Electronic configuration of 2, 8, 1 belongs to group 1.
Final answer:
Hence, option (D) is the correct option.