The word ‘fop’ was first recorded in 1440, and for several centuries meant a fool of any kind. However, by 1672 it has come to mean "one who is foolishly attentive to and vain of his appearance, dress, or manners” (Oxford English Dictionary). Foppish characteristics included overdressing, putting on airs, being effeminate, and adopting French fashions and vocabulary. Synonymous words in use at the time included coxcomb, popinjay and (later) macaroni.
George Etherege’s comedy, The Man of Mode, or, Sir Fopling Flutter, was first performed in 1676. The title character was a rather silly fop, prone to manipulation, and aspiring to be a ‘rake’ (a libertine and a womaniser).