Share this Page URL

Chapter 17. The Programmable Page: Addin... > Some JavaScript Examples - Pg. 205

The Programmable Page: Adding JavaScripts to Your Pages 205 · Telling the script where to go. If your script writes text or tags to the page, insert the script at the exact spot where you want the text or tags to appear; otherwise, place the script inside the page header (that is, between the <HEAD> and </HEAD> tags) · Writing tags as well as text. When you're using the document.write() method for inserting text on the fly, feel free to toss in a tag or two if you want to format the text.