Trent Wyman


Top Navigation

How to display HTML script as text on a web page

Categories:

In order to display HTML code on a web page as text, the "<" & ">" opening & closing characters need to be converted to:

< = &lt
> = &gt

Example:

&lt;a href=http://www.wy-designs.net&gt;Wy-Designs&lt;/a&gt;

The above line when displayed by the browser it will display this:

Wy-Designs

---------------------------------------------------------

Online Tool:
There are free web services available that convert HTML script into display text simply by pasting the HTML into a small widget on their site. Here is a link to one of those online tools: http://www.plus2net.com/html_tutorial/tags-page.php