<html>
<head>
<title>Form Sheet</title>
<style>
</style>
<script type="text/javascript">
</script>
</head>
<body>
</body>
<form name="formsheet" action="grade.php" method="post">
<table width="300" border="5">
<tr>
<td>FirstName:</td>
<td><input type="text" id="fname" name="fname"/></td>
<tr>
<td>SurName:</td>
<td><input type="text" id="sname" name="sname"/></td>
</tr>
<tr>
<td>Age:</td>
<td><input type="text" id="age" name="age"/></td>
</tr>
<tr>
<td><input type="radio" id="gen" name="gen" value="Male"/>Male
<input type="radio" id="gen" name="gen" value="Female"/>Female</td>
</tr>
<tr>
<td>Subject:</td>
<td><input type="text" id="subject" name="subject"/></td>
</tr>
<tr>
<td>Score:</td>
<td><input type="number" id="score" name="score"/></td>
</tr>
</table>
<input type="reset"name="reset"/>
<input type="submit" id="sbm" name="sbm" value="submit"/>
<p><h3>would you like to go to the Home page?<a href="homepage.html">click here</a></h3></p>
</form>
</body>
</html>
need to validate this for but i dont know the codes and how to do so plz help would truly appreciate it