Forum Moderators: open
I'm using:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
and the body tag looks like this:
<body onexit="exitpop()">
But validator.w3.org objects to this syntax thus:
Line 27, column 13: there is no attribute "ONEXIT"
The onexit javascript code works fine, but I can't find any reference to why validation doesn't like it or what to do about it.
Suggestions please.