title: Function to display html code rather than display elements in browser using Javascript
body: <p>I want to have the <code>innerHTML</code> of my <code>div</code> element to contain some HTML code, rather than displaying the expected result of that html as the browser normally would. How do I do this using Javascript?</p>