Answers for "js download html"

0

js download html

<a onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)" href="#" download="page.html">Download</a>
Posted by: Guest on May-15-2021

Browse Popular Code Answers by Language