0% found this document useful (0 votes)
10 views2 pages

4

Uploaded by

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

4

Uploaded by

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

<!

DOCTYPE html>
<html lang="en">
<head>
<title>Registration Form</title>
<link rel="stylesheet" href="styles4.css">
</head>
<body>

<h1>Registration Form</h1>

<form action="#" method="post">


<table>
<tr>
<th><label for="fname">First Name:</label></th>
<td><input type="text" id="fname" name="firstname"
placeholder="Your first name"></td>
</tr>
<tr>
<th><label for="lname">Last Name:</label></th>
<td><input type="text" id="lname" name="lastname" placeholder="Your
last name"></td>
</tr>
<tr>
<th><label for="email">Email:</label></th>
<td><input type="email" id="email" name="email" placeholder="Your
email"></td>
</tr>
<tr>
<th><label for="password">Password:</label></th>
<td><input type="password" id="password" name="password"
placeholder="Choose a password" maxlength="10"></td>
</tr>
<tr>
<th><label for="gender">Gender:</label></th>
<td>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label>
<input type="radio" id="other" name="gender" value="other">
<label for="other">Other</label>
</td>
</tr>
<tr>
<th><label for="hobbies">Hobbies:</label></th>
<td>
<input type="checkbox" id="reading" name="hobbies"
value="reading">
<label for="reading">Reading</label>
<input type="checkbox" id="sports" name="hobbies"
value="sports">
<label for="sports">Sports</label>
<input type="checkbox" id="music" name="hobbies" value="music">
<label for="music">Music</label>
</td>
</tr>
<tr>
<th><label for="country">Country:</label></th>
<td>
<select id="country" name="country">
<option value="india">India</option>
<option value="usa">USA</option>
<option value="canada">Canada</option>
<option value="uk">UK</option>
</select>
</td>
</tr>
<tr>
<th><label for="comments">Comments:</label></th>
<td>
<textarea id="comments" name="comments" rows="4" cols="50"
placeholder="Enter any comments..."></textarea>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>

</body>
</html>

You might also like