0% found this document useful (0 votes)
8 views4 pages

Ass3 HTML

The document provides a problem statement for creating a registration page using HTML. It includes a complete source code for a registration form with fields for personal information, gender, course selection, phone, email, password, and a submit button. The form is structured using HTML elements and styled with basic attributes.

Uploaded by

siaaaa88887777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Ass3 HTML

The document provides a problem statement for creating a registration page using HTML. It includes a complete source code for a registration form with fields for personal information, gender, course selection, phone, email, password, and a submit button. The form is structured using HTML elements and styled with basic attributes.

Uploaded by

siaaaa88887777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

ASSIGNMENT 3

Date:24.06.2024

Problem Statement:
How to make a registration page using html.

Source Code:
<html>
<head>
<title>Registration Page</title>
</head>
<body bgcolor="LIghtpink">

<center>
<h2 style="text-align: center;">Registration Form</h2>

<form name="f1">
<table border="2" cellspacing="10" cellpading="20">
<tr>
<th colspan="2">Personal Information</th>
</tr>
<tr>
<td>First name:</td>
<td><input type="text" name="t1" size="15"></td>
</tr>
<tr>
<td>Middle name:</td>
<td><input type="text" name="t2" size="15"></td>
</tr>
<tr>
<td>Last name:</td>
<td><input type="text" name="t3" size="15"></td>
</tr>
<tr>
<td>Gender:</td>
<td>
<input type="radio" name="r1" id="male"><label for="male">Male</label><br>
<input type="radio" name="r1" id="female"><label
for="female">Female</label><br>
<input type="radio" name="r1" id="other"><label for="other">Other</label>
</td>
</tr>
<tr>
<td>Course:</td>
<td>
<select name="Course">
<option value="Course Options">Course Options</option>
<option value="Mathematics">Mathematics</option>
<option value="Physics">Physics</option>
<option value="Chemistry">Chemistry</option>
<option value="Computer Science">Computer Science</option>
<option value="Biology">Biology</option>
</select>
</td>
<tr>
<td>Phone:</td>
<td><input type="text" name="phone" size="10"></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" name="Email" size="20"></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="Password" size="20"></td>
</tr>
<tr>
<td>Confirm Password:</td>
<td><input type="confirm password" name=" Confirm Password" size="20"></td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input type="button" value="Submit">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>
Output:

You might also like