Code 4 form validation by Bilal
<html>
<head>
<title>Registration Form</title>
</head>
<body style="background-color: #5F9EA0;">
<center>
<h1 style="background-color:silver;"><blink>Registration Form</blink> </h1>
<hr style="color:green;">
<form method="post" action="abc.php">
First Name :            <input type="text" name="text"/>
<br>
<br>
Last Name :            <input type="text" name="text"/>
<br>
<br>
Password:              <input type="password" name="pwd"/>
<br>
<br>
Retype-Password:  <input type="password" name="pwd"/>
<br>
<br>
Email :                   <input type="text" name="text"/>
<br>
<br>
Retype-Email:       <input type="text" name="text"/>
<br>
<br>
Gender :               <input type ="radio" name="sex" value="male">Male
<input type ="radio" name="sex" value="male">Female
<br>
<br>
Date oF Birth :  
<select>
<option selected="selected">-Select Month-</option>
<option>Jan</option>
<option>Feb</option
<option>Mar</option>
<option>Apr</option>
<option>May</option>
</select>
<select>
<option selected="selected">Day</option>
<option>1</option>
<option>2</option
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
<select>
<option selected="selected">Year</option>
<option>2012</option>
<option>2011</option
<option>2010</option>
<option>2009</option>
<option>2008</option>
<option>2007</option>
<option>2006</option>
</select>
<br>
<br>
                  <textarea name="texrarea" >Comments</textarea>
<br>
<br>
<input type="button" value="clear"/>
<input type="submit" value="submit"/>
<br>
<br>
</form>
</center>
</body>
</html>
<head>
<title>Registration Form</title>
</head>
<body style="background-color: #5F9EA0;">
<center>
<h1 style="background-color:silver;"><blink>Registration Form</blink> </h1>
<hr style="color:green;">
<form method="post" action="abc.php">
First Name :            <input type="text" name="text"/>
<br>
<br>
Last Name :            <input type="text" name="text"/>
<br>
<br>
Password:              <input type="password" name="pwd"/>
<br>
<br>
Retype-Password:  <input type="password" name="pwd"/>
<br>
<br>
Email :                   <input type="text" name="text"/>
<br>
<br>
Retype-Email:       <input type="text" name="text"/>
<br>
<br>
Gender :               <input type ="radio" name="sex" value="male">Male
<input type ="radio" name="sex" value="male">Female
<br>
<br>
Date oF Birth :  
<select>
<option selected="selected">-Select Month-</option>
<option>Jan</option>
<option>Feb</option
<option>Mar</option>
<option>Apr</option>
<option>May</option>
</select>
<select>
<option selected="selected">Day</option>
<option>1</option>
<option>2</option
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
<select>
<option selected="selected">Year</option>
<option>2012</option>
<option>2011</option
<option>2010</option>
<option>2009</option>
<option>2008</option>
<option>2007</option>
<option>2006</option>
</select>
<br>
<br>
                  <textarea name="texrarea" >Comments</textarea>
<br>
<br>
<input type="button" value="clear"/>
<input type="submit" value="submit"/>
<br>
<br>
</form>
</center>
</body>
</html>
Comments
Post a Comment