-2
4

1 回答 1

2

The <code> element does support arbitrary content. You just have to encode the HTML int here, like this:

<code>
&lt;html&gt; HTML document &lt;/html&gt;
</code>

That's what stackoverflow does if you type

<html> HTML document </html>
于 2013-02-12T10:31:27.040 回答