document write in current window code example Example: document write document.write("Hello World!");