When halogen gets attached to benzene ring, it will deactivate the ring, as halogen is electron withdrawing in nature. Because it attached to benzene ring through a bond and due to resonance, this effect is mainly observed at ortho and para position.