"Additions of hydrogen halides to alkenes are electrophilic reactions that begin with protonation of the double bond to give a carbocation. Trapping of the carbocation by halide ion gives the final product. The Markovnikov rule predicts the regioselectivity of hydrohalogenation to haloalkanes. As in any carbocation reaction, rearrangements may occur if good nucleophiles are absent."