This is quite normal puppy behaviour, mine were like that too.
The technique that has worked best for me is ignoring the puppy. When he bites, get up, turn your back on him or walk away and ignore him for a bit. Eventually he'll learn that biting means getting no attention from you and he'll stop. You can say 'NO', 'no biting!' or do a high pitch yelp (to show him that biting is hurting you) before ignoring him too. It may take a while, but you'll get there.
My Lilo also had little tantrums when I told her off for doing something wrong. I pretty much did the same thing, I either ignored her or lifted her up in the air, facing away from me, and held her there until she calmed down.