HTML Goodies: Script Tip: Week 1
Those two parentheses denote the method and hold instructions on what should happen. For instance:
document.write('<FONT COLOR=green>Green Text</FONT>')
That script will produce this: Green Text
See what's happening? The document is being acted upon by the method "write." Inside the ( and the ) is what should be written to the page. In this case, green text.
Next Week: What do you mean by "hierarchy statement?"
HTML Goodies 30-Step Primer Series
and take the knowledge home with you in
on your Web pages here!