There are 2 H atoms present with 4 O atoms.
i.e.. 4 O atoms = 2 H atoms
1 O atom = 2/4 =0.5 H atom.
There is 0.5 H are present for every O atom.