The halogens are the elements of group 17 on the periodic table. Halogens combine easily with elements from group 1. When a halogen reacts with a metal, what type of compound is formed?.