Question: why are the halogens and alkali metals a perfect match to bond?
Answer: Their chemical activity increases as you move downward through the periods from Li to Na to K, etc. Alkali metals tend to lose one electron and form ions with a single positive charge. They form ionic compounds (salts) in reaction with the halogens (alkali halides).