There are two difficulties or problems that Internet users encounter when they want to paste code into forms to display these on the Internet. The first problem that can be encountered is that the website will interpret part or all of the code instead of displaying it. A basic example would be to display the html code needed to make text linkable on a website. These codes are interpreted by most forms automatically if the user just pastes the code into the form. The second problem that can arise is that the website will not validate because of the way it has been pasted into the form. Displaying the & char will for example return an error when validating the code. This can lead to all kinds of troubles including broken RSS feeds (read: The XML Feed Cannot Be Displayed).
Displaying valid markup code in websites, forums, blogs and any other page is not difficulty. The only thing that needs to be done to achieve this is to convert all entities before pasting the code. This can be done manually or by using a script like that offered at Spacefem.
All that needs to be done is to paste the code into the form and click on the Make Code button at the bottom. To display the following code on a website
<a href="http://www.ghacks.net/">Ghacks</a>
one would have to paste the following code into the form on the website where the code should be displayed
<a href="http://www.ghacks.net/">Ghacks</a>

This is actually the easiest way to ensure that the website will not interpret the code and that the code will be valid markup code.
Related posts:
XML Escape ToolWeb Development: HTML Playground
Display Cached RSS Feed In Your Website
Firefox: Edit Forms On Websites In External Editors
QR Code Generator
Firefox Copy Code
Display websites next to each other in Firefox
Google Translation Service For Websites

