• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HTML query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: text and paragraph properties in QX 4.11
  • Next by Date: RE: HTML query
  • Previous by thread: HTML query
  • Next by thread: RE: HTML query
  • Index(es):
    • Date
    • Thread