And start as all programming exercises with writing a “hello world” script.
Up to line 6 there are usual XHTML beginning tags as you realize.
Real excitement is starting with the line 6 it includes “script” tag that
indicates the beginning of the script then we have ” ” comment tag for HTML. We have no “//” before “<!–” since it is also single line comment delimiter. Finally close your script.
We add our script to head section of our HTML to be executed before body part of HTML but it is also possible to use your script in body part of your html and we’ll see how to use in such way but be patient :).
to copy pase!!