ASP Write Method
Definition and Usage
The Write method writes a specified string to the output.
Syntax
Response.Write variant
Parameter | Description |
---|---|
variant | Required. The data to be written. |
Instance
Example 1
<% Response.Write "Hello World" %>
Output:
Hello World
Example 2
<% name="John" Response.Write(name) %>
Output:
John
Example 3
<% Response.Write("Hello<br />World") %>
Output:
Hello World