A child learns everything and that includes good behavior. Good behavior shouldn’t be something that is taught like drilling it into a child or punishment for bad behavior but rather something that is encouraged and nurtured.
A child learns by observing. If your child observes you using good manners and respecting others then more than likely they will copy your behavior. Oftentimes a young child will throw a temper tantrum when they don’t get their way. The tantrum should never be given into. Once you give into a child’s temper tantrum then you have set the scene for more tantrums.