"Hello World" Using document.write()
Create a basic "Hello World" script. This assignment is similar to assignment #1, but uses another method available to display information to the user.
- Create a basic, empty web page using only html code (see an example).
- Insert a set of <script> tags between the <body> tags.
- Add document.write("Hello World!") between the <script> tags.
- Surround the script tags, or the words Hello World! with a set of <h1> tags.
The page should be completely empty except for the <doctype> <html>, <head>, <title>, and <body> tags that are necessary to make a valid html document.
Next assignment ... Assignment #3