Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
1.6 kB
2
Indexable
<!DOCTYPE html>
<html>
<head>
<title>Form Controls Demo</title>
</head>
<body>
<h1>Form Controls Demo</h1>
<form>
 <fieldset>
 <legend>Personal Information</legend>
 <label for="name">Name:</label>
 <input type="text" id="name" name="name" required><br><br>
 <label for="email">Email:</label>
 <input type="email" id="email" name="email" required><br><br>
 <label for="password">Password:</label>
 <input type="password" id="password" name="password" required><br><br>
 <label for="dob">Date of Birth:</label>
 <input type="date" id="dob" name="dob"><br><br>
 <label>Gender:</label>
 <input type="radio" id="male" name="gender" value="male">
 <label for="male">Male</label>
 <input type="radio" id="female" name="gender" value="female">
 <label for="female">Female</label><br><br>
<label for="country">Country:</label>
 <select id="country" name="country">
 <option value="india">India</option>
 <option value="usa">USA</option>
 <option value="uk">UK</option>
 </select><br><br>
 <label for="bio">Bio:</label>
 <textarea id="bio" name="bio" rows="4" cols="50"></textarea><br><br>
 </fieldset>
 <fieldset>
 <legend>Skills</legend>
 <label for="html">HTML:</label>
 <input type="checkbox" id="html" name="skills" value="html"><br>
 <label for="css">CSS:</label>
 <input type="checkbox" id="css" name="skills" value="css"><br>
 <label for="javascript">JavaScript:</label>
 <input type="checkbox" id="javascript" name="skills" value="javascript"><br><br>
 </fieldset>
 <input type="submit" value="Submit">
 <input type="reset" value="Reset">
</form>
</body>
</html>
Leave a Comment