THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

ASP Write Method


Response Object Reference Complete Response Object Reference

The Write method writes a specified string to the output.

Syntax

Response.Write variant

Parameter Description
variant Required. The data to write

Examples

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

Response Object Reference Complete Response Object Reference