My daughter is almost 22 months old and did go through a phase around 12 months of biting me when she lost her temper but it passed quickly with me ignoring her but the past few weeks she's doing it again and ignoring isn't working this time.
It's always when she loses her temper, I see her tense up and she lashes out, sometimes it's a slap but at other times she'll lunge and try to bite me, I feel like I've tried everything, I've ignored her, turned her away, physically laid her down, shouted a very stern 'no' and did once smack the back of her hand when she'd thrown a toy brick that hit my face then smacked me.
Sadly that's the response that had the most effect and although it made her cry it has been the only thing to stop her but I don't want to use smacking.
I've also pretended to cry and asked for a kiss which did seem to work for a while but now she'll deliberately hit me then say 'aah' and lean in for a kiss and a hug.
Overall she is a very happy girl, she's a fantastic sleeper and does 14 hours a night plus 1-2 hours at lunchtime so I don't think she's tired, she eats well and seems very bright, her speech is coming along really well and she picks things up incredibly fast so I also can't think that anything is frustrating her developmentally.
It's mainly me that she targets although has done the same to my husband and does smack the dog too, funnily enough we have 5 dogs and the one she smacks is the one who reacts, the others ignore her so I do think it's all done for attention.
She spends 5 days with me and two at the childminders and I worry she'll start doing it to one of the other kids although so far she hasn't.
Sorry for the long post, I've tried to include as much information as I can.