Forms in HTML
<!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>Sample form</title>
</head>
<body>
<form>
<fieldset>
<legend><b>Admission Registration</b> </legend>
<br>
<b>Name : </b><input type="text">
<br>
<br>
<b>Email : </b><input type="text">
<br>
<br>
<b>Gender :</b>
<input type="radio" name="gender">Male
<input type="radio" name="gender">Female
<br>
<br>
<b>Phone : </b><input type="text">
<b>Emergency contact : </b><input type="text">
<br>
<br>
<b>Do you require parking?</b>
<input type="radio" name="ans">Yes
<input type="radio" name="ans">No
<br>
<br>
<b>Which is your room preference?</b>
<br>
<input type="radio" name="room">Single Room
<br>
<input type="radio" name="room">Shared room
<br>
<input type="radio" name="room">No room needed
<br>
<br>
<b>Do you have any dietary restrictions?</b>
<br>
<input type="checkbox" name="ans">None
<br>
<input type="checkbox" name="ans">Vegetarian
<br>
<input type="checkbox" name="ans">Glutten Allergy
<br>
<input type="checkbox" name="ans">Lactose allergy
<br>
<input type="checkbox" name="ans">Nut allergy
<br>
<input type="checkbox" name="ans">Shellfish allergy
<br>
<br>
<b>Which activities will you attend?</b>
<br>
<input type="checkbox" name="" id="">Awards Gala
<br>
<input type="checkbox" name="" id="">Luncheon
<br>
<input type="checkbox" name="" id="">Town hall
<br>
<br>
<input type="submit">
</fieldset>
</form>
</body>
</html>
Output : https://sanjanareddy7707.github.io/Forms/
GitHub code link : https://github.com/SanjanaReddy7707/Forms