js download html

Solutions on MaxInterview for js download html by the best coders in the world

showing results for - "js download html"
Cat
05 Feb 2020
1<a onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)" href="#" download="page.html">Download</a>
2