Thanks to visit codestin.com
Credit goes to www.scribd.com

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

HTML Form

The document is an HTML template for a registration form on a website. It includes fields for username, password, class selection, favorite subjects, city selection, and a feedback textarea. The form is designed to be submitted to an action page via a POST request.
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)
3 views2 pages

HTML Form

The document is an HTML template for a registration form on a website. It includes fields for username, password, class selection, favorite subjects, city selection, and a feedback textarea. The form is designed to be submitted to an action page via a POST request.
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>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Website</title>
</head>
<body>
<h4>Registration Form</h4>
<form action="/action.php">
<input type="text" placeholder="User Name" />
<br />
<br />
<input type="password" placeholder="Pass Word" />
<br /><br />
<hr>
<h5>=========Select your class==========</h5>
<label for="100">
<input type="radio" value="class XI" name="class" id="100" />class X
</label>
<br><br>
<label for="101">
<input type="radio" value="class XI" name="class" id="101" />class XI
</label>
<br /><br />
<label for="102">
<input type="radio" value="class XII" name="class" id="102" />class XII
</label>
<br /><br />
<hr>
<h5>Select Fav Subjects</h5>
<label for="math">
<input type="checkbox" value="math" name="subject" id="101" /> Math
</label>
<br /><br />
<label for="phy">
<input type="checkbox" value="phy" name="subject" id="102" /> Physics
</label>
<br /><br />
<label for="chem">
<input type="checkbox" value="chem" name="subject" id="103" /> Chemistry
</label>
<br /><br />
<label for="CS">
<input type="checkbox" value="CS" name="subject" id="104" /> Computer
Science
</label>
<br /><br />
Select your city
<select name="city">
<option value="Delhi">Delhi</option>
<option value="Banglore">Banglore</option>
<option value="Pune">Pune</option>
<option value="Mumbai">Mumbai</option>
</select>
<br /><br />
<textarea
name="feedback"
id="101"
placeholder="please give your valuable feedback here"
rows="5"
></textarea>
<br />
<input type="submit" value="submit" />
</form>

</body>
</html>

You might also like