View The HTML Source
- Home
- Javascript
- View The HTML Source
Create a link for users to view the source of your page
<SCRIPT>
document.writeln("<A ID='btm' HREF='view-source:"+document.location.href+"'>View Source</A>");
</SCRIPT>
javascript view source html