Search
 
SCRIPT & CODE EXAMPLE
 

HTML

js download html

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

PREVIOUS NEXT
Code Example
Html :: form controller in bootstrap 
Html :: how to make a div responsive in css 
Html :: email confirmation html template 
Html :: ionic format date 
Html :: mvc Html.DropDownList get value 
Html :: watermark in html5 
Html :: progress bar bootstrap 
Html :: responsive html script 
Html :: html5 input pattern name 
Html :: meta description tag in html 
Html :: how to set video size html 
Html :: a href rel 
Html :: bootstrap btn colors 
Html :: html vertical text in table cell 
Html :: bold text in html 
Html :: Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`. 
Html :: number format in html input 
Html :: date month year dropdown html 
Html :: thumbnail html 
Html :: html a tag 
Html :: How to create the html link 
Html :: same form two submits 
Html :: how to loop in html 
Html :: html how to give false link 
Html :: scroll to section href 
Html :: two buttons in same form 
Html :: how to make check boxes in html 
Html :: postman tutorial 
Html :: ondrag event in html 
Html :: html make card 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =