Lab date: September 27, 2000.
First Step:
Write a program that prints out the following --
< html >
< body >
< h3 > Hello World! < /h3 >
< /body >
< /html >
Copy your result and then paste it into notepad or whatever... and then save the file as hello.htm
Open your file in any Browser, such as Internet Explorer or Netscape and see what happens.
You should see your "dynamically generated" "Hello World!" page.
First Step:
Instead of using cout explicitly in main(), write and use procedures:
For example:
You can write the following procedures:
html() which outputs the string: < html >
htmlend() which outputs the string: < /html >
body() which outputs the string: < body >
bodyend() which outputs the string: < /body >
The second and third steps are the same as in the basic assignment.