The question: is it shown as html-code or is it html-code. That's a big difference.

For example:
Your post above starts with "<div>". So you might say it shows html-code. But it doesn't. If I look at the page source with View>Source I see &lt;div&gt; which the way to show a tag, but isn't a tag itself, so it's just the text that is entered.