Although public displays of affection between men and women is considered inappropriate, Tanzanians are very warm towards foreigners, children, women and the elderly.
The majority of the population speaks Swahili, however, immigration officials, hotel and restaurant staff and staff at exchange bureaus speak English competently. Tanzanians always, with a warm smile, welcome tourists that make some attempt at learning basic Swahili words such as Jambo (Hello) and Asante (Thank you).
We always recommend dressing modestly when mixing with locals in the towns and markets. Women should especially cover their legs and shoulders. In the privacy of your own hotel rooms or at the beach, you need not concern yourself much with a dress code (although we do always suggest checking with the accommodation facilities if they have any dress code).