Active Server Pages are normally written in VBScript, a stripped down version of Visual Basic. ASP pages have a .asp file extension instead of the typical .htm or .html extensions. ASP code can be written inside of an HTML page or kept in a separate file and then included into your HTML page. A simple ASP page may look like this:
Sample.asp
<html><head><title>My First ASP Page</title></head><body>
<h1> This is a sample ASP page</h1>
Today is <%= Date()%> and the time now is <%=Time ()%>
</body></html>
The first thing you may notice are the <% and %> symbols mixed in with the standard HTML code. These are called ASP delimiters. These delimiters separate the server-side code from the HTML tags. When a web page is executed on the server it goes through the page looking for any code you have written and then the code is compiled and run. In the example above the web page is returned to the user with the current date and time displayed.