Different between ortha nitrophenol and para nitrophenol
O-nitrophenol undergoes intramolecular Hydrogen bonding and it can be easily separated during heating since it doesn't have any major interaction with other molecules near by. For example when your friends aren't coming with you while returning home from school it takes less time for you to reach home
P-nitrophenol undergoes intermolecular Hydrogen bonding. It interacts with atoms of different molecules near by and increase its boiling point. Since it has a connection with nearby molecules it won't go out easily ( more temperature is needed , hence more the boiling point). For example when your returning with your friends you'll take a little more extra time to reach home.
In p-nitrophenol, molecular association takes place due to extensive hydrogen bonding between the molecules (intermolecular hydrogen bonding). Therefore, it has higher melting and boiling points. In o-nitrophenol, since the OH and NO2 are in close proximity to each other, intramolecular hydrogen bonding takes place.o-Nitrophenol will have lesser dipole moment than p-nitrophenol. This is because of resonance. During resonance, OH group will be electron donating group and will carry positive charge, where as nitro group is electron withdrawing group and carries negative charge.