-
document.write Function – JavaScript Tutorial for Beginners
The document.write() function prints code directly on the HTML page where the script tag containing your code is. One key programming fundamental you should know is that code is executed in a linear manner. JavaScript allows you to write code or data directly into the HTML document that is loading it. You can also log…