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 data into your browser’s console, making it appear as a warning, error, or information.

Copyright (c) 2013 Rodrigo Silveira http://www.easylearntutorial.com

Original source


One response to “document.write Function – JavaScript Tutorial for Beginners”

Leave a Reply