I had a case where i copied bold text from a web page into a textarea of another page. On paste, the text area kept the text's bold format. When i pasted the same text into a text file i could see no mark ups or formatting info along with the text. How is the textarea keeping the format of the text?
Thanks in advance.
EDIT:
How is the textarea or JS driven text editor formatting the pasted text without any formatting info being passed along with the pasted text?
If formatting info is bieng passed internally by the browser, how is the webpage receving that info?