the most popular Web browsers are Windows Internet Explorer, Mozilla Firefox, Google Chrome, and Opera. The following are the Web-based document types: Static documents: The documents that are created and stored inside the server are called static documents. The server can change the document contents but the user cannot change it. A document copy is sent to the client through document access and the document is displayed using a browsing program by the user. Dynamic documents: The Web server runs an application program for the creation of a dynamic document on the arrival of a request. Here the server checks the URL to find if it defines a dynamic document. If so, the pro- gram is executed by the server and the program output is send to the client. These documents do not exist in a predefined format. The program output is returned to the browser that requested the document as a response. The dynamic document content differs from one request to another as it creates fresh document for each requests. Web Communication Active documents: Programs that must be run at the client site comes under active documents. For a program that creates an animated graphics on the screen or a program that interacts with the user, requires the program to be run at the client site where the animation or interaction takes place. Active documents are not run on the server. The server only stores the active docu- ment in the form of binary document. Next let us look into the programming aspect of each of these document types. 1. Programming for static documents The HTML is the language used for creating Web pages that can be viewed using a browser. The browser can format the data on a Web page for interpreta- tion. Through HTML, the formatting instructions can be embedded in the file itself allowing any browser to read the instruction and format the text accord- ing to the workstation being used. The data present in the main text and the formatting instructions used to format the data are both represented as ASCII characters, SO that ev