HTML Code embedded within HTML Page as Text

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.
 
M

Mark Rae [MVP]

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>
 
G

Guest

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top