I want to display code characters on an HTML page. But no matter what I try it always renders HTML characters. pre or code doesn\'t work. How can I
pre
code
Since tag is now depreciated : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp
You can use PHP to convert HTML tags :
<code> <?php print htmlentities('<p>Blah</p>'); ?> </code>