Re: HTML query
Re: HTML query
- Subject: Re: HTML query
- From: Sander Tekelenburg <email@hidden>
- Date: Thu, 17 Jan 2002 16:45:02 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 11:37 +0000 UTC, on 17-01-2002, Rob Stott wrote:
>
[...] I'm having
>
problems with the following line, obviously because of the quotation
>
marks...
>
>
Set theHTML to "<IMG SRC="images/logo.gif" WIDTH="176" HEIGHT="50">"
>
>
Is there an easy way around this?
In AS, quotes (and a few other characters) have a special meaning. To loose
that special meaning, you 'escape' them by preceeding them with a backslash.
So you'd get:
set theHTML to "<IMG SRC=\"images/logo.gif\" WIDTH=\"176\" HEIGHT=\"50\"
ALT=\"some meaningful alternative\">"
[Note that I added the ALT attribute...]
HTH
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBPEbxS+sywKfXgqKdEQLKpwCgyQjzSPraivX8syJDQFySdGViId8AoPVe
UPITgqyZo2987b5p92HNDIei
=O0yD
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
References: | |
| >HTML query (From: Rob Stott <email@hidden>) |