I am having some more validation issues I have just added a search box to my page i did have it as xhtml strict and it was validating fine once i added this for it produced 50 errors then i changed the doc type to transitional now there are are only two errors it is saying there in no such attribute as onblur or onfocus??
I would really like to keep this as strict but when i keep it as strict there are three errors the two mentioned above and i also says that target="_self" is an invalid attribute.
Any ideas how i can fix this?
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>APA</title>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/topmenu.css" />
<link rel="stylesheet" type="text/css" href="css/leftmenu.css" />
</head>
<body>
<div id="holder">
<div id="header">
<form action="./search.php" method="get" target="_self">
<table class="search">
<tr><td>
<input type="hidden" value="SEARCH" name="action" />
<input type="hidden" value="en" name="lan" />
<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus=" if (value == '') {value=''}" onBlur="if (value == '') {value=''}" /></td>
<td><input type="hidden" value="50" name="limit" />
<input type="submit" value="Search" class="button" />
<input type="hidden" value="" name="case" />
<input type="hidden" value="1" name="extracts" />
<input type="hidden" value="25" name="perpage" />
</td></tr>
</table>
</form>
</div>