You are on page 1of 7

Date: Practical No: 01 Roll No: 09 & 17

Q1) File name: application.html


Source code:
<html>
<head>
<title>Application Form</title>
</head>
<body>
<h1>Application Form</h1>

<form>
<table bgcolor="orange">

<tr>
<td>Name:</td>
<td><input type="text" name="name"></td>
</tr>

<tr>
<td>Gender:</td>
<td> <input type="radio" name="gender" value="Male">Male
<input type="radio" name="gender" value="Female">Female</td>
</tr>

<tr>
<td>Area of interest:</td>
<td><select multiple name="interest">
<option>Music</option>
<option>Games</option>
<option>Books</option>
</select></td>
</tr>

<tr>
<td>Upload your CV:</td>
<td><input type="file" name="path"></td>
</tr>

<tr>
<td align="right"><input type="submit" value="Submit"></td>
<td><input type="reset"></td>
</tr>

</table>
</form>

</body>
</html>
Roll No: 09 & 17 Practical No: 01Date:
Output :
Date: Practical No: 01 Roll No: 09 & 17

Q2) File name: poll.html


Source code:
<html>
<head><title>Opinion Poll</title></head>
<body>
<h1 align="center"><font color="blue"><i>Opnion Poll</i></font></h1>
<form>
1. Name of your organization: <input type="text" name="name">
<br>

2. Select your Continent: <select name="continent" size="3">


<option>America</option>
<option>Africa</option>
<option>Australia</option>
<option>Asia</option>
<option>Europe</option>
</select>
<br>

3. Name of your Country: <input type="text" name="country">


<br>

4. Main scope: <input type="radio" name="scope" value="Software


Development">Software Development
<input type="radio" name="scope" value="Hardware Design">Hardware design
<input type="radio" name="scope" value="Software Sales">Software Sales
<input type="radio" name="scope" value="Peripheral Sales">Peripheral
Sales
<br>

5. Type your opinion about our Product:<textarea></textarea>


<br>

6. In your opinion, what is the status of our Product:<select


name="status">
<option>Excellent</option>
<option>Very Good</option>
<option>Good</option>
<option>Average</option>
<option>Poor</option>
</select>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp

<input type="reset" value="Restart">


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;
<input type="submit" value="Send Now">
</form>
</body>
</html>
Roll No: 09 & 17 Practical No: 01Date:
Output:
Date: Practical No: 01 Roll No: 09 & 17

Q3) File name: registration.html


Source code:
<html>
<head><title>User Registration</title></head>
<body>

<form>
<table border="1" cellspacing="0" bordercolor="white" bgcolor="lavender">

<tr>
<td colspan="2" align="center">
<font size="5"><b>USER REGISTRATION</b></font><br>
<font size="-2"><b>*Required Fields</b></font>
</td>
</tr>

<tr>
<td><b>First Name*</b><br><input type="text" name="first" size="18"
maxlength="30"></td>
<td><b>Last Name*</b><br><input type="text" name="last" size="18"
maxlength="30"></td>
</tr>

<tr>
<td><b>E-Mail*</b><br><input type="text" name="email" size="30"></td>
<td><b>Zip Code*</b><br><input type="text" name="code" size="6"></td>
</tr>

<tr>
<td colspan="2"><b>User Name*</b><br><input type="text" name="username"
size="12"></td>
</tr>

<tr>
<td><b>Password*</b><br><input type="password" name="password"
size="12"></td>
<td><b>Confirm Password*</b><br><input type="password" name="cpassword"
size="12"></td>
</tr>

<tr>
<td colspan="2">
<b>What music are you interested in? <br>
<input type="checkbox" name="music" value="Rock">Rock
<input type="checkbox" name="music" value="Pop">Pop
<input type="checkbox" name="music" value="Bluegrass">Bluegrass <br>
<input type="checkbox" name="music" value="Blues">Blues
<input type="checkbox" name="music" value="Jazz">Jazz
<input type="checkbox" name="music" value="Country">Country</b>
</td>
</tr>

<tr>
<td colspan="2">
<b>Would you like to receive e-mail notifications on our special sales?
<br>
<input type="radio" name="noti" value="Yes" checked="checked">Yes
<input type="radio" name="noti" value="No">No</b>
</td>
Roll No: 09 & 17 Practical No: 01Date:
</tr>

<tr align="center">
<td colspan="2"><input type="submit" value="Submit"><input type="reset"
value="Reset"></td>
</tr>

</table>
</form>

</body>
</html>
Date: Practical No: 01 Roll No: 09 & 17

Output:

You might also like