[thelist] <a>, onClick & xhtml

.jeff jeff at members.evolt.org
Thu Jun 13 02:42:01 CDT 2002


joseph,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Joseph A Borg
>
> the following is not valid for XHTML 1.0
> Strict/Transitional/Frameset
>
> 	<a href="#" onMouseOver/onClick="">
>
> any valid reason? or I'm wrong (as usual)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

as someone else has already pointed out, all attributes must be lowercase.

in addition, since you've got a hash (#) as the href attribute value
(assuming it's not just being used in this example only) i thought you
should read an article i wrote:

Links & JavaScript Living Together in Harmony
http://evolt.org/article/thelist/17/20938/

enjoy,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/





More information about the thelist mailing list