Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quotations

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do I put quotation marks "" inside a response.write(" ") without breaking the rules?

I want to print some html:

response.write(" font face="verdana etc.." ")

If i leave out the quotation marks then the formatting of the HTML is incorrect. HTML needs the " " around the attributes to work properly. Any advice?

 
double your quotes in VBScript or ASP ie : write :
Code:
response.write("   font face=""verdana etc..""  ")
Water is not bad as soon as it stays out human body ;-)
 
string literals are a more friendlier debug form of getting these results. the more quotes you have the more errors you'll get
chr(34) = "

admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top