two words are homonyms if they are pronounced and spelled the same way but have different meanings
two words are homographs if they are spelled the same way but differ in meaning (e.g. fair)