Elements of a webpage:
Exercise 1:
What is HTML?
Consider this HelloWorld example:
<HTML> <BODY> HelloWorld! </BODY> </HTML>
HTML creation tools:
Exercise 2:
What is CGI?
Exercise 3:
How does a webserver call a CGI program? Three possible ways:
<html> <head> <title> Hello World </title> </head> <body> Hello World! (plain HTML text). <% Dim str str = "Hello World (from Visual Basic string)" Response.write (str) %> </body> </html>
Before this is sent out by the webserver, the code is executed, which writes "in place".
The HTML actually received by the requesting Browser is:
<html> <head> <title> Hello World </title> </head> <body> Hello World! (plain HTML text). Hello World (from Visual Basic string) </body> </html>
Exercise 4: Find a webpage with Javascript or Visual Basic.