The correct order of atoms in hydrogen peroxide (H2O2) is represented by option B: H-O-O-H.
In hydrogen peroxide, there are two hydrogen atoms (H) and two oxygen atoms (O) bonded in a way that can be depicted as H–O–O–H. This structure highlights the presence of a peroxide linkage (O-O).