HTML Code:
[spoil]spoiler text[/spoil]
That's how you do it.