Why does <textarea> display <> instead of <>?
问题 Shouldn't a browser's textarea display raw text? Look at the following snaps from this post, and pay attention to the <script> tag: 1- We can see the angled brackets around the script word: 2- Now look at the source of the page. We can see the angled brackets are represented by their HTML entities: 3- Click to edit the post and you'll see that the angled brackets are visible in the textarea--NOT their HTML entities: 4- Look at the XHR response from the server (when we clicked edit), we can