[VE][108] Error Message Feedback

Hello, I tried to validate a page for XHTML 1 and I got this:
Line 9, column 39: there is no attribute "onFocus"
Page code:
 
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
</head>
<body>
<input name="name" type="text" onFocus="if(this.value=='name')
this.value='';" onblur="if(this.value=='') this.value='name';"
value="name" size="20" />
</body>
</html>
 
The onFocus works and if I validate as HTML it gives no errors... Some
help would be appreciated! :-)
 
Thanks,
Peter
 

Received on Wednesday, 7 July 2004 14:53:46 UTC