Function That Wraps Document.Write, Adding a Line Break
<HTML> <BODY> <CENTER> <H1> <SCRIPT> function myFunction (textIn) { document.write (textIn + "<br>"); } myFunction ("I"); myFunction ("did"); myFunction ("it"); myFunction ("my"); myFunction ("way!"); </SCRIPT> </CENTER> </H1> </BODY> </HTML>