Etiquette is defined as the formal manners and rules that are followed in social or professional settings.(noun)
The rules of writing a thank you note are an example of etiquette.
See etiquette in Webster's New World College Dictionary
Origin: Fr étiquette, lit., ticket
See etiquette in American Heritage Dictionary 4
Origin: , from Old French estiquet, label; see ticket.
Learn more about etiquette