Hydrogen bonds are strong intermolecular forces created when a hydrogen atom bonded to an electronegative atom approaches a nearby electronegative atom. Greater electronegativity of the hydrogen bond acceptor will lead to an increase in hydrogen-bond strength.
I hope this helps