Intermolecular forces are forces of attraction that hold groups of covalently bonded atoms called molecules to other molecules.
Therefore Ionic compounds are technically not held together by IMF's.
The weakest IMF is called London Forces or van der Waals Forces. This is the only force between 2 nonpolar molecules. It is found in all molecules, but usually not acknowledge to it being so weak.
An example is Nitrogen. It is nonpolar and can only liquefy by these weak forces. A little energy and liquid nitrogen will vaporize.
Stronger than van der Waals is a Dipole-Dipole Attraction. Yes, it is the interaction of two dipoles (aka a polar molecule). Since polar molecules have a slightly positive and slightly negative end they attract very nicely. Much stronger force of attraction than van der Waals, which is present but insignificant in comparison to dipole-dipole forces.
The strongest of the IMF's is hydrogen bonding. It is NOT what holds 2 hydrogen molecules together (that is van der Waals). Hydrogen bonds occur between molecules that have a permanent net dipole resulting from hydrogen being covalently bonded to either fluorine, oxygen or nitrogen.
***Important- The stronger the IMF the higher the boiling point.
On to Like Dissolve Like