Re: COUGAR: ALT and <INPUT TYPE="IMAGE">

You, Simone Demmel, wrote:
++ 
++ Hi,
++ 
++ Marc Salomon wrote:
++ > Should there be an ALT attribute available on <INPUT TYPE="IMAGE"> so that the
++ > submit action involved can be conveyed when the image is not available?
++ 
++ I would say *yes*! 
++ 
++ BTW: is there any possibility to use in alt="" an ascii-image? That would
++ be verry interesting, because you can provide this image to lynx- and
++ telnet-users too...


Uhm, no. If the image is part of a non-pre element, a newline is just
whitespace. And RFC 1866 forbids the use of <IMG> inside <PRE>.

<!ENTITY % pre.content "#PCDATA | A | HR | BR">
<!ELEMENT PRE - - (%pre.content)*>

(Yeah, <PRE><A NAME = FOO><IMG SRC = "foo.gif" ALT = "<>*@(&$#("></A></PRE>
 is "legal", but I suppose that's just an oversight and not the intention.)


Abigail

Received on Wednesday, 30 October 1996 17:25:23 UTC