Group 7 elements have 7 electrons in their outermost shell. They can accept one electron.
Since the affinity to accept electron is more when size of the atom is less, fluorine is the most reactive in the group and the reactivity decreases down the group. The reactivity is in the order
Fluorine > Chlorine > Bromine > Iodine