Wednesday, August 18, 2010

Chapter-1 Form and Frame for Computer HTML Programm


<html>
<head>
<title> Whizkid Registration Form </title>
</head>
<body>
<form>
<h1> Whizkid Gaming Comunity </h1>
<h4> Login Information </h4>
<table>
<tr>
<td> Username: </td>
<td>
<input type="text"name="username"value="username"size="10"maxlength="10">
</td>
</tr>
<tr>
<td> Email: </td>
<td>
<input type="text" name="email" value="enter email here"size="25"maxlength="25">
</td>
</tr>

<tr>
<td> Password : </td>
<td> <input type= "password" name="password1"> </td>
<td> <small> must be 8-25 characters long </small> </td>
</tr>
<tr>
<td> Confirm Password : </td>
<td> <input type="password" name ="password2"></td>
<td> <small> should match the password </small></td>
</tr>
<td>

<h3> Other information</h3>
</td>
<tr>
<td> Name:</td>
<td> <input type="text"name="name"value="enter name"> </td>
</tr>

<tr>
<td> Mobile No:</td>
<td> <input type="text"name="mobile"> </td>
</tr>

<tr>
<td> Image:</td>
<td> <input type="file"name="Imagename"> </td>
<td> <small> upload your image file(optional)</small></td>
</tr>

<tr>
<td>Receive alert by:</td>
<td><input type="radio" name="alert by" value="Email"checked>Email
<input type="radio" name="alert by" value="SMS">SMS </td>
</tr>
<tr> <td> Games of Interest:</td>
<td> <input type="checkbox" name="game" value="Shooting"checked>Shooting
<input type="checkbox" name="game" value="Puzzle">Puzzle
<input type="checkbox" name="game" value="Detective">Detective
<input type="checkbox" name="game" value="scrabble">Scrabble
</td>
</tr>

<tr>
<td>Country:</td>
<td> <select name="Country" Size=3 multiple>
<option value="France">France</option>
<option selected value="India">India</option>
<option value="New Zeland">New Zeland</option>
<option value="United Kingdom">United Kingdom</option>
<option value="United States">United States</option>
</select>
<br> To select more than one country, Hold CTRL key while clicking
</td> </tr>

</table>

Comment box:
<textarea rows="3" cols="50" name="Comment"> ENTER YOUR COMMENT</textarea> <br>
<input type="Reset" value="Reset">
<input type= "Submit" value="Submit">

</form>
</body>
</html>

No comments:

Post a Comment