All diatomic molecules are linear and characterized by a single parameter which is the bond length or distance between the two atoms. Diatomic nitrogen has a triple bond, diatomic oxygen has a double bond, and diatomic hydrogen, fluorine, chlorine, iodine, and bromine all have single bonds.