summaryrefslogtreecommitdiff
path: root/Lab04/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'Lab04/index.html')
-rw-r--r--Lab04/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/Lab04/index.html b/Lab04/index.html
new file mode 100644
index 0000000..f433526
--- /dev/null
+++ b/Lab04/index.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="style.css">
+ <title>HTML Form Creation</title>
+</head>
+<body>
+ <h1>Registration Form</h1>
+ <form action="./insert.php" method="post">
+ <label for="fname">First name:</label><br>
+ <input type="text" id="fname" name="fname" required><br>
+ <label for="lname">Last name:</label><br>
+ <input type="text" id="lname" name="lname" required><br>
+ <label for="gender">Gender:</label><br>
+ <select name="gender" id="gender">
+ <option value="male">Male</option>
+ <option value="female">Female</option>
+ <option value="other">Other</option>
+ </select>
+ <br>
+ <label for="phone">Phone Number:</label><br>
+ <input type="number" size="10" id="phone" name="phone" required><br>
+ <label for="email">Email Address:</label><br>
+ <input type="email" id="email" name="email" required><br>
+ <label for="city">City:</label><br>
+ <input id="city" name="city" required><br>
+ <br>
+ <label for="Preferred Department">Department: </label><br>
+ <input type="radio" id="it" name="department" value="IT" required>
+ <label for="it">Information Technology</label><br>
+ <input type="radio" id="cse" name="department" value="CSE" required>
+ <label for="cse">Computer Science and Engineering</label><br>
+ <input type="radio" id="mech" name="department" value="MECH" required>
+ <label for="mech">Mechanical Engineering</label><br>
+ <input type="radio" id="civil" name="department" value="CIVIL" required>
+ <label for="civil">Civil Engineering</label><br>
+ <input type="radio" id="ece" name="department" value="ECE" required>
+ <label for="ece">Electronics and Communication Engineering</label><br>
+ <br>
+ <input type="submit" value="Submit">
+ </form>
+</body>
+</html> \ No newline at end of file