the HTML is loaded, before the document is viewed,
during the document viewing, and as it is leaving.
This statement creates HTML code that has the text “HI” inside a
header of type 1.
this text it is done and will do no more.
Things to notice:
1) The <script> and the </script> tags surround
Code. There are several different styles to mark the
You may see places where the programmer left off the “;”.
This can be dangerous, because as the code is interpreted/
compiled, every line gets a “;” inserted if it does not have
one. So when you don’t want a “;” at the end of the line,
boom you get one any ways.
This returns “” instead of 5!
Times Viewed: 22