In an H2O molecule, two water molecules are bonded by a Hydrogen bond but the bond between two H - O bonds within a water molecule are covalent. The dotted lines represent a hydrogen bond and the solid lines represent a covalent bond. therefore its a hydrogen bond