Active Server Pages
by
Mohammed
Saleh
In the ASP page we are going to use VBScript as the server side scripting language and Java Script as the client side scripting language.
Lets start. First we will write the famous ‘Hello World' script but this time we will put it in a loop to show the difference that ASP can make to static normal HTML page, and at the end we will display the time using the time built-in function in VBScript.
<html>
<head>
<title>Hello World and time</title>
</head>
<body>
<h1>My First ASP Page </h1>
<% FOR I = 1 to 8 %>
<font size="<%=I%>"> Hello World </font><br/>
<% NEXT %>
<b><%=time%></b>
</body>
</html>
This page will produce the Hello World phrase 8 times with increasing font size Plus the time.
Hello World and time
testing above ASP code at www.russwill.com