Can I transfer what I am watching on my ipad on to my television?

I am thinking of buying an Ipad so that I can view the stuff that I am looking at (from the internet) on my television. Would this work?

Follow this Question