What type of bond is formed when two or more non metals bond with each other?

and

What type of bond is formed when a metal and non metal bond with each other?

non-metal to non-metal usually covalent.

metal to non-metal usually ionic.