Where on the periodic table are the halogens located?

in the middle

below the main body of the periodic table

in Group 8A (far right-hand side)

in Group 7A (right-hand side)