|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Dweb - School Admission</title> |
| 7 | + <style> |
| 8 | + body { |
| 9 | + font-family: Arial, sans-serif; |
| 10 | + margin: 0; |
| 11 | + padding: 0; |
| 12 | + background-color: #f4f4f4; |
| 13 | + } |
| 14 | + |
| 15 | + header { |
| 16 | + background-color: #4CAF50; |
| 17 | + color: white; |
| 18 | + padding: 1rem; |
| 19 | + text-align: center; |
| 20 | + } |
| 21 | + |
| 22 | + h1 { |
| 23 | + margin: 0; |
| 24 | + } |
| 25 | + |
| 26 | + form { |
| 27 | + width: 50%; |
| 28 | + margin: 2rem auto; |
| 29 | + background-color: #fff; |
| 30 | + padding: 20px; |
| 31 | + border-radius: 5px; |
| 32 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
| 33 | + } |
| 34 | + |
| 35 | + label { |
| 36 | + font-weight: bold; |
| 37 | + display: block; |
| 38 | + margin-bottom: 0.5rem; |
| 39 | + } |
| 40 | + |
| 41 | + input, select, button { |
| 42 | + width: 100%; |
| 43 | + padding: 10px; |
| 44 | + margin-bottom: 1rem; |
| 45 | + border: 1px solid #ccc; |
| 46 | + border-radius: 5px; |
| 47 | + } |
| 48 | + |
| 49 | + button { |
| 50 | + background-color: #4CAF50; |
| 51 | + color: white; |
| 52 | + border: none; |
| 53 | + cursor: pointer; |
| 54 | + } |
| 55 | + |
| 56 | + button:hover { |
| 57 | + background-color: #45a049; |
| 58 | + } |
| 59 | + |
| 60 | + footer { |
| 61 | + text-align: center; |
| 62 | + padding: 1rem; |
| 63 | + background-color: #4CAF50; |
| 64 | + color: white; |
| 65 | + position: fixed; |
| 66 | + bottom: 0; |
| 67 | + width: 100%; |
| 68 | + } |
| 69 | + </style> |
| 70 | +</head> |
| 71 | +<body> |
| 72 | + <header> |
| 73 | + <h1>Dweb Application Form</h1> |
| 74 | + </header> |
| 75 | + |
| 76 | + <form action="/submit-application" method="post"> |
| 77 | + <label for="username">Username:</label> |
| 78 | + <input type="text" id="username" name="username" placeholder="Enter your username" required> |
| 79 | + |
| 80 | + <label for="email">Email Address:</label> |
| 81 | + <input type="email" id="email" name="email" placeholder="Enter your email" required> |
| 82 | + |
| 83 | + <label for="phone">Phone Number:</label> |
| 84 | + <input type="tel" id="phone" name="phone" placeholder="Enter your phone number" required> |
| 85 | + |
| 86 | + <label for="location">Location:</label> |
| 87 | + <input type="text" id="location" name="location" placeholder="Enter your location" required> |
| 88 | + |
| 89 | + <label for="dob">Date of Birth:</label> |
| 90 | + <input type="date" id="dob" name="dob" required> |
| 91 | + |
| 92 | + <label for="gender">Gender:</label> |
| 93 | + <select id="gender" name="gender" required> |
| 94 | + <option value="" disabled selected>Select your gender</option> |
| 95 | + <option value="male">Male</option> |
| 96 | + <option value="female">Female</option> |
| 97 | + <option value="other">Other</option> |
| 98 | + </select> |
| 99 | + |
| 100 | + <button type="submit">Submit Application</button> |
| 101 | + </form> |
| 102 | + |
| 103 | + <footer> |
| 104 | + <p>© 2023 Dweb Application. All rights reserved.</p> |
| 105 | + </footer> |
| 106 | +</body> |
| 107 | +</html> |
0 commit comments