W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

[VE][108] Error Message Feedback

From: Peter007 <peter007@fightingforce007.net>
Date: Tue, 29 Jun 2004 12:41:45 +0300
To: <www-validator@w3.org>
Message-ID: <000001c45dbd$4eebe0e0$2c61e9d5@masterlord>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT