The answer is to use this method for HTML: Replace the & character with & Replace the < character with < Replace the > character with > Optionally surround your HTML sample with <pre> and/or <code> tags. Read more about the <pre> and <code> tags. Example 1 This text has been formatted using the HTML <pre> tag. The brower should display all white space as it was Read More