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"
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
<input name="name" type="text" onFocus="if(this.value=='name')
this.value='';" onblur="if(this.value=='') this.value='name';"
value="name" size="20" />
The onFocus works and if I validate as HTML it gives no errors... Some
help would be appreciated! :-)
Received on Wednesday, 7 July 2004 14:53:46 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:22 UTC