Response Write Object in ASP

Use Response.Write to add text or generated HTML to the HTTP response body. A simple string can be written directly:

Response.Write "Hello World"
The above line will print the string Hello World . You have seen double quotes are used to indicate starting and ending of a string. Now if we want to print double quotes within our string then we have to use two double quotes in place of one. Like this
Response.Write "Raju told ""He is learning ASP from plus2net"" So you can also learn from here "
The output of this command will be
Raju told "He is learning ASP from plus2net" So you can also learn from here 
You can read more on double quotes and string escape here.

Printing html tags

HTML can also be written as part of the response. When the browser receives real HTML tags, it interprets them as markup.
Response.Write "Use Bold Tags <B> to highlight strings"

The browser interprets the <B> tag and displays the enclosed text in bold.

Use Bold Tags <B> to highlight strings

You can also review the HTML tags tutorial.


ASP Home






✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer