In Action

Javscript 101 - document.write()

The paragraph in bold below "Using Javascript ..." was generated using the javascript document.write() method. Using this method it is possible to generate from the client (the browser) dynamic html. One must keep in mind that to practically create dynamic ntml up in the browser most likely needs to involve some ineraction with the user.

Results



Javascript Code

document.write("<p><b>Using Javascript to write to an html page</b></p>")