Well, I am making a simple online text editor. The user will write their HTML codes in a text-area, after that, they will click on a button preview the HTML codes in a html page. My questions are:
For example, in the text area, I write: <b>This text is bold</b>, when I click on the preview button, it open a new windows showing me: This text is bold
2/ How to save also the preview page in .html format?