It will be rude to talk in an elevator if you are yelling, laughing too loudly, or generally causing loud disturbances to other passengers.