need advice?!?!

Dom💕
so i have no clue where to post this but i feel as if this is the best place to. my daughter is a year old and she has been hitting so much lately at first it was cute and we'd laugh it off but now it's come to the point where she does it all the time. i don't know what would be the best way to tell her not to hit other than explain to her and say no but that's not helping at all. my SO wants to start tapping her hand but i feel as if that's very hypocritical of us to tell her not to hit yet we tap her hand. what worked best for you guys? i all so have another question. how do you stop the temper tantrums?