|
ASP file normally contains HTML tags, XML, text and server scripts. The server scripts are surrounded by <% and %>. Server scripts can contain statements, operators, expression etc and are executed by web server.
Response.Write command:
The response.write command is used to write something to the browser. Here is an example of the command.
<html>
<head>
<title>My Web</title>
</head>
<body>
<%
response.write("Hello World")
%>
</body>
</html>
There is an alternate for response.write command.
<%="Hello World"%> |