Can you post HTML in threads?

I was wondering if it's possible to post working HTML, that will function in threads throughout the forums.
I tried using the HTML code inserting option in an XenForo forum, and it just showed the actual code, it didn't function.
So if I was to make a jump link, would I just click the BB Code editor, and type "[anchor]{TEXT}[/anchor]" and "[goto={TEXT1}]{TEXT2}[/goto]"?