HTML and CSS Reference
In-Depth Information
Exercises
1. Describe the life cycle of a Web page.
2. What browser are you using? What version? How do you know?
3. What is an example of a JavaScript event handler? Copy Example 1.2 into your
editor and run the program in your browser.
4. What is the difference between JavaScript and JScript?
5. Where do JavaScript tags go in an HTML page? Does JavaScript understand
HTML?
6. What is the DOM?
7. Define the three layers of a Web page.
8. How do you set up JavaScript in an external file?
9. Write a JavaScript program that prints a welcome message in a large blue font.
Check to see if JavaScript is enabled. Use comments to explain what you are
doing.
Search WWH ::




Custom Search