I think it is standard to be able to put a hidden in a Web page, loading it with same-source plain-text or HTML, and then read that material with JavaScript and write some or all of it into the visible Web page. I've not done all of that in one Web page; but I have done all of the parts in different pages. That should require only that the web server can serve text or HTML, but may well not work in Chrome from a local disc without using a server (over-zealous security).