Creating your first ASP page
Posted on 13. Nov, 2007 by tutorials007 in Archive 1,533 views
To make our first ASP page we can use different editors.
Active Server Page is a simple text file with .asp extension,
so to create an ASP page even Notepad will be useful.
Example of an ASP page:
<%@ Language=VBScript %>
<% Option Explicit %><html>
<body>
<%
Response.Write (“Our first ASP page”)
%></body>
</html>
This ASP page will show following text at our browser:
Our first ASP page
We created this by using Response.Write object.
First line of code says that we will use VBScript as our programming language:
<%@ Language=VBScript %>
Second line says that all variables in code must be defined before they’re used:
<% Option Explicit %>
Begining of ASP code is defined with <%, and end of ASP code is defined with %>.
You don’t need to do 640-822 or even 642-552 in order to be able to create your first web page. A simple 642-436 would do. For an asp page, a 70-272 is more than enough.
