One way to predict the type of bond that forms between two elements is to compare the electronegativities of the elements. In general, large differences in electronegativity result in ionic bonds, while smaller differences result in covalent bonds.
License: CC BY-NC-SA by Khan Academy