informal something, esp manners or language, that one should be mindful of
Mind your p's and q's in front of your great-aunt
possibly alluding to the difficulty a child learning to write may have in distinguishing between p and q; a connection with please and thank you has also been suggested. Another suggestion is that the term derives from abbreviations for pints and quarts used when recording drinks to be paid for later