Last active
February 15, 2023 07:05
-
-
Save Abhishek27064/2dd236d0237ce33b519ed9c9944a5fc9 to your computer and use it in GitHub Desktop.
Form tag 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Inspiration</title> | |
</head> | |
<body> | |
<form> | |
<label class="labelForm">Name</label> | |
<input type="text" placeholder="name"> | |
<br> | |
<label class="labelForm">Age</label> | |
<input type="number" placeholder="age"> | |
<br> | |
<label class="labelForm">Mobile Number</label> | |
<input type="number" placeholder="mobno"> | |
<br> | |
<label>Gender</label> | |
<br> | |
<input type="radio" name="gender" id="male" value="male"> | |
<label>Male</label> | |
<input type="radio" name="gender" id="Female" value="Female"> | |
<label>Female</label> | |
<br> | |
<label for="occupation">Occupation:</label> | |
<select name="occupation" id="occupation"> | |
<option value="doctor">Doctor</option> | |
<option value="developer">Developer</option> | |
<option value="teacher">Teacher</option> | |
<option value="salesman">Salesman</option> | |
<option value="other">Other</option> | |
</select> | |
<br> | |
<label>Birthday</label> | |
<input type="date" name="birthday"/> | |
<br> | |
<input type="checkbox" name="Company" id="cred" value="cred"> | |
<label>Accept Terms & Conditions</label> | |
<br> | |
<input type="submit" value="submit"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment