What are the best methods for displaying HTML inside a text area, yet still have the page validate to XHTML1.1 strict? For example, say I wanted to do this:
That wouldn't validate due to the html tag, but I couldn't use the normal method of encoding the html tag to <html> as that will then display like that inside the textarea.
I assume there is a method I can use (xmp, pre?) but I'm just not sure of what would be the recommended method.
Thanks,
Mark
____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
Need help finding an answer? Try the Search Facility or read FAQ222-2244.
Code:
<textarea>
<html>
...
</textarea>
I assume there is a method I can use (xmp, pre?) but I'm just not sure of what would be the recommended method.
Thanks,
Mark
____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
Need help finding an answer? Try the Search Facility or read FAQ222-2244.