Several online gaming companies run free Texas Hold'em tables. No real money is involved, which is precisely the point: you are playing for the game itself.
The best-known of them is PokerStars, which keeps free tables running alongside its paid ones and is the easiest place to start if you just want a hand or two.