Re: IMG tag

by "Comharsa" <comharsa(at)clara.net>

 Date:  Sun, 9 Jan 2000 23:14:59 -0000
 To:  <hwg-techniques(at)hwg.org>
 References:  lionscub
  todo: View Thread, Original
> Ok, I know this probably doesn't seem like a major issue, but I try to
stay
> as close to the HRML specs as I can.  I have a page that uses a mouseover
> and image preload script.  In the image tags in question the script has
the
> "name=" element.  When I try to validate with WDG is shows as an invalid
> element.
>
> My question is is there a way to do mouseover without the name element in
> the IMG tag.  I do not believe there is any real harm in having the name
> element in the IMG tag but curiosity and being a stickler for details are
> bad habbits of mine.

Someone mentioned recently that although name wasn't in the HTML 4.0 specs
it is in the HTML 4.01 specs. They suggested changing your doctype to 4.01
and it would then validate. I think that's what I remember anyway :-).

Brian
comharsa(at)clara.net

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