[thelist] Validation question

Sasa Kulic sasa.kulic at roges.com
Fri Sep 5 16:37:42 CDT 2003


Friesen, Julie wrote:

>The validator's response: Line 135, column 79: there is no attribute
>"onSubmit" (explain...).
>
>What would be a good way to handle this line in order to have the site
>validate? 
>
>TIA!
>Julie
>
I suppose you are validating it as XHTML Transitional. If it were HTML 
4.01 it would probably be OK.
In XHTML all attributes need to be lowercase. You need to call your 
javascript functions all lowercase, ie. onsubmit, onmouseover, 
onmouseout . . .

Sasha
http://www.sashadesign.com




More information about the thelist mailing list