They would form a covalent bond. When two elements are the same as nonmetallic or metallic, they from a covalent bond because they are working together, not being opposite.
it would form Hydroxide
Hydrogen and oxygen, both nonmetals, bond through covalent bonding to create water. In this process, they share electrons to form stable molecules. This electron sharing allows both elements to achieve full outer electron shells.
;