Week 2 Day 1: HTML forms and input validation
This commit is contained in:
37
Week-2/Day-1/index.html
Normal file
37
Week-2/Day-1/index.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>HTML Forms</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>Registration Form</h2>
|
||||
|
||||
<form>
|
||||
<label>Full Name:</label>
|
||||
<input type="text" required>
|
||||
|
||||
<label>Email:</label>
|
||||
<input type="email" required>
|
||||
|
||||
<label>Password:</label>
|
||||
<input type="password" required>
|
||||
|
||||
<label>Gender:</label>
|
||||
<input type="radio" name="gender"> Male
|
||||
<input type="radio" name="gender"> Female
|
||||
|
||||
<label>Skills:</label>
|
||||
<input type="checkbox"> HTML
|
||||
<input type="checkbox"> CSS
|
||||
|
||||
<label>About You:</label>
|
||||
<textarea rows="4"></textarea>
|
||||
|
||||
<button type="submit">Register</button>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user