How To Create HTML Form?
..Today I'll Tell You How To Create HTML Form.. Like This👇
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Practice</title>
</head>
<body>
<!-- Heading Tag -->
<h2>Application Form</h2>
<form action="/action">
<label for="name">First Name: </label>
<input type="text">
<label for="lname">Last Name: </label>
<input type="text">
<!-- Break Line -->
<br>
<br>
<label for="DOB">Date of Birth: </label>
<input type="date">
<label for="Age">Age: </label>
<input type="age">
<br><br>
<label for="gender">Gender: </label>
<select name="gender" id="gender">
<option value="m">Male</option>
<option value="f">Female</option>
<option value="o">Other</option>
</select>
<label for="email">Email Address: </label>
<input type="email" placeholder="Enter email address">
<br><br>
<label for="PA">Position Available: </label>
<input type="radio" name="X">
<label for="JD">Junior Developer</label>
<input type="radio" name="X">
<label for="MLD">Mid-Level Developer</label>
<input type="radio" name="X">
<label for="SD">Senior Develepor</label>
<br><br>
<label for="PL">Programming Language: </label>
<input type="checkbox">
<label for="J">JAVA</label>
<input type="checkbox">
<label for="JS">JavaScript</label>
<input type="checkbox">
<label for="Py">Python</label>
<br><br>
<label for="Pass">Password: </label>
<input type="password">
<label for="Cpass">Confirm Password: </label>
<input type="password">
<br><br>
<button>Submit</button>
<button>Reset</button>
</form>
</body>
</html>
Comments
Post a Comment