Save the following as hello.asp in your directory.

 


<html>

<head>


<title>


First ASP Page


</title>


<head>


<body>


<%


Dim strHello


strHello = "Hello World"


Response.Write strHello


%>


</body>


</html>



So,what you have above is normal html code interspersed with VBScript ASP code. What will happen is that your ASP code will get processed first at the server. This will become readable by the browser,usually HTML.

 


To view your page,start your web browser and navigate to:

 


http://localhost/hello.asp

                    

Copyright © 2010 VisualBuilder. All rights reserved