Sunday 3 February 2013

Html code for assignment

<html>
<head>
      <title>Registration Form</title>
</head>

<body style="background-color:     #5F9EA0;">
<center>

<h1 style="background-color:silver;">Registration Form </h1>

<hr style="color:green;">

<form method="post" action="abc.php">

First  Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/>
<br>
<br>

Last Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/>
<br>
<br>


    Password: &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp<input type="password" name="pwd"/>
<br>
<br>

Retype-Password: &nbsp<input type="password" name="pwd"/>
<br>
<br>


Email : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp &nbsp &nbsp <input type="text" name="text"/>
<br>
<br>


Retype-Email:  &nbsp    &nbsp    &nbsp  <input type="text" name="text"/>
<br>
<br>

Gender :  &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp <input type ="radio" name="sex" value="male">Male
         <input type ="radio" name="sex" value="male">Female

<br>
<br>

Date oF Birth : &nbsp    

 <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>

&nbsp    &nbsp    &nbsp &nbsp    &nbsp    &nbsp  &nbsp    &nbsp    &nbsp <textarea name="texrarea" >Comments</textarea>
<br>
<br>

<input type="button" value="clear"/>

<input type="submit" value="submit"/>
<br>
<br>





</form>

</center>

</body>
</html>


by bilal sheikh
//fb like box