Skip to content
Related Articles

Related Articles

ASP Write() Method
  • Last Updated : 31 Jul, 2020

The ASP Write() Method is used to display a string as a output on the webpage. It is a predefined method of the Reference type object.

Syntax:

Response.Write variant

Parameter Values: This method contains the value j.e variant which represents the specified string that you want to display as a Output.

Return Values: This method does not return any Values.

Example: Below code illustrates the ASP Write() Method

filter_none

edit
close

play_arrow

link
brightness_4
code

<%
response.write("<h1>ASP Write() Method</h2>")
response.write("<p>Hello GeeksForGeeks)</p>")
%>

chevron_right


Example 2:

filter_none

edit
close

play_arrow

link
brightness_4
code

<%
name="GeeksForGeeks"
Response.Write(name)
%>

chevron_right


My Personal Notes arrow_drop_up
Recommended Articles
Page :