document.write
replaces whole page HTML with new HTML, that you give it.For example, calling this:
document.write('<strong style="color: red">Hello World!</strong>');
document.write
replaces whole page HTML with new HTML, that you give it.For example, calling this:
document.write('<strong style="color: red">Hello World!</strong>');