Re: Tags inside of alt?

by "eva" <eva(at)algonet.se>

 Date:  Fri, 16 Jan 1998 03:00:42 +0100
 To:  <hwg-theory(at)hwg.org>,
"Chuck Evans" <chuck.evans(at)enduracorp.com>
  todo: View Thread, Original
Chuck Evans <chuck.evans(at)enduracorp.com>
>In fact, you can even use (though I don't know why):<img src="picture.gif"
>alt="<HR>"> and the text browsers will display <HR> instead of the image.

There are two types of values: name token and string literal. String literal
stands for "(almost) anything goes". That includes the characters < and >.
The > character in the attribute value can however be interpreted as a
delimiting character in older browsers and should therefore be replaced by
an entity reference

Note - string literal must be quoted.
/e

HWG hwg-theory mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.