javascript print html text code example Example: how to write in js document.write("put your text here!");