Toggle between HTML WYSIWYG and Source view

Is there a way to display HTML source rather than the ‘vanilla’ WYSIWYG view of a web page when using setContentHTML or setContentHref in a Tabbar. Or, is there an alternative solution to display (ideally toggle between) either views?

You can put your html code in textarea or in a tag.

Thanks for the reply. However, I guess that only leaves textarea as is deprecated.