/**/ Python & MySQL: CREATE FORM IN HTML

Sunday, April 12, 2020

CREATE FORM IN HTML

HTML
In this content you will get the coding of html form. In this content you will get INPUT ELEMENTS, ADDING TEXT BOX, RADIO BUTTON, DROP DOWN LIST, ADDING BUTTONS, etc.
You can easily modify this code.

Note: If you want any HTML code then you can ask in the comment box.

Coding

<html>
<head>
<title>Page Title</title>
</head>

<body bgcolor = "Lightgreen">


<h1 ALIGN=CENTER><u>ADMISSION FORM</u></h1>

<h1>Fill your eglibility and Submit!</h1><BR>

<form>
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname">
  <label for="mname">Middle name:</label>
  <input type="text" id="mname" name="mname">

  <label for="lname">Last name:</label>
  <input type="text" id="lname" name="lname"><br><br>

  <label for="fname">Father's Name:</label>
  <input type="text" id="fname" name="fname">

 <label for="moname">Mother's Name:</label>
  <input type="text" id="moname" name="moname"><br><br>

  <label for="fmob">Father's Mobile No.:</label>
  <input type="text" id="fmob" name="fmob">

 <label for="mmob">Mother's Mobile No.:</label>
  <input type="text" id="mmob" name="mmob"><br><br>



<br> Select Father's Qualification<br>
<input type = "checkbox" name = "c1" value = "High School" checked> Highschool
<input type = "checkbox" name = "c2" value = "Intermediate" > Intermediate
<input type = "checkbox" name = "c3" value = "Graduation" > Graduation
<input type = "checkbox" name = "c4" value = "Post Graduation" > Post Graduation
<br>
<br> Select Mother's Qualification<br>
<input type = "checkbox" name = "c1" value = "High School" checked> Highschool
<input type = "checkbox" name = "c2" value = "Intermediate" > Intermediate
<input type = "checkbox" name = "c3" value = "Graduation" > Graduation
<input type = "checkbox" name = "c4" value = "Post Graduation" > Post Graduation


<br>
  <input type="radio" id="male" name="gender" value="male">
  <label for="male">Male</label><br>
  <input type="radio" id="female" name="gender" value="female">
  <label for="female">Female</label><br>
  <input type="radio" id="other" name="gender" value="other">
  <label for="other">Other</label><br><br>

<label for="birthday">Date of Birth</label>
<input type="date" id="birthday" name="birthday">

<label for="city">Select Your City</label>
<Select Name= "cities">
<option selected>None</option>
<option>Ambedkar Nagar</option>
<option>Lucknow</option>
<option>Chennai</option>
<option>Mumbai</option>
<option>Delhi<option/></select><br> <br>

<h3>Remarks:<h3>
<textarea rows =6 cols = 80 name = "Remarks">
<Enter your remarks here</textarea>
<br><br>


<button type="Button" style="background-color: red; height: 40px; width: 100px">Submit Form</button>


<button type="Button" style="background-color: lightblue; height: 40px; width: 100px">Reset Form</button>



</form>

</body>

</html>



1 comment:

Please do not any spam in the comment box.

CLASS XI HALF YEARLY QP WTH MS 2024

  Half Yearly Examination: 2024-25 Informatics Practices (065) Class- XI       Time Allowed: 3hrs                                     ...