In textarea, I load text from database and then show in textarea. I have a problem, textarea not show < and >. It has been changed to < and > .
<textarea>>html></textarea>
in textarea , change to . I want to show <html> , how to make it ?
Escape the & by using &.
Change this:
<textarea><html></textarea>
To this:
<textarea>&lt;html&gt;</textarea>
If you're using PHP you can automatically do this with htmlspecialchars().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With