HTML Code embedded within HTML Page as Text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know this is a somewhat rudimentary question but...

I want to display HTML code on an HTML page but I want the code to display
as text. In other words, I want the code not to be rendered as HTML on the
HTML page, but rather have it rendered as simple text.

This must be easy to do as I see it everywhere.

TIA.
 
I want to display HTML code on an HTML page but I want the code to display
as text. In other words, I want the code not to be rendered as HTML on the
HTML page, but rather have it rendered as simple text.

This must be easy to do as I see it everywhere.

<pre>

</pre>
 
I initially tried this (before the post) and it did not work.

For example the code below showed up as a hyperlink...

<pre>
<a href="help">asas</a>
</pre>
 
Back
Top