An ASP Web page consists of an HTML document with embedded server-side script logic. The script logic, such as VBScript or JScript, is dynamically executed on the Web server and then stripped out of the document so that only HTML is sent to the browser. Figure 10-1 shows how an ASP Web page is used.
Since an ASP Web page is an HTML document, all HTML tags are allowed in the ASP file and can be used normally. ASP files let you dynamically generate HTML tags within the source ASP Web page before it is sent to the browser. You can freely include server-side script anywhere in the ASP file and intermingle it with HTML.
Figure 10-1. The ASP file is read by the server. Only the HTML is sent to the client browser.