Tantrums

My 5 year old daughter is always throwing tantrums if she doesn’t get her own way. I have tried all sorts of measures from putting her in the bold corner to taking away her toys and nothing seems to work. How do I enforce a bit of discipline with her?