Hello,
This is the only line in my entire code that does not validate in
XHTML :
<td width="24" bgcolor="#33006 6" onclick="javasc ript:color1()"
class="borderWi dthr"></td>
However, it is valid HTML,since I've defined the function color in the
javascript section of the <head> tag.
This is the error that I get:
Below are the results of attempting to parse this document with an
SGML parser.
Line 176, column 40: there is no attribute "onClick" (explain...).
(And Yes.. onclick is not in Caps in my code).
Do I specifically need a form object for it to validate in XHTML???
Something like
<input name="mybutton" type="button" onclick="color1 ()" />
Any comments/suggestions would be greatly appreciated!
Thanks
Russ
This is the only line in my entire code that does not validate in
XHTML :
<td width="24" bgcolor="#33006 6" onclick="javasc ript:color1()"
class="borderWi dthr"></td>
However, it is valid HTML,since I've defined the function color in the
javascript section of the <head> tag.
This is the error that I get:
Below are the results of attempting to parse this document with an
SGML parser.
Line 176, column 40: there is no attribute "onClick" (explain...).
(And Yes.. onclick is not in Caps in my code).
Do I specifically need a form object for it to validate in XHTML???
Something like
<input name="mybutton" type="button" onclick="color1 ()" />
Any comments/suggestions would be greatly appreciated!
Thanks
Russ
Comment