Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP Write Method


❮ 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

❮ Complete Response Object Reference