summaryrefslogtreecommitdiff
path: root/Lab06/form1.php
diff options
context:
space:
mode:
Diffstat (limited to 'Lab06/form1.php')
-rw-r--r--Lab06/form1.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/Lab06/form1.php b/Lab06/form1.php
new file mode 100644
index 0000000..5348baf
--- /dev/null
+++ b/Lab06/form1.php
@@ -0,0 +1,36 @@
+<html>
+<head>
+ <style>
+ select {
+ margin-bottom: 10px;
+ }
+ #submit {
+ margin-top: 10px;
+ }
+ </style>
+</head>
+<body>
+ <form action="form1_submit.php" method="post">
+ <label for="fname">First Name:</label><br>
+ <input type="text" id="fname" name="fname"><br>
+
+ <label for="lname">Last Name:</label><br>
+ <input type="text" id="lname" name="lname"><br>
+
+ <label for="age">Age: </label><br>
+ <input type="number" id="age" name="age"><br>
+
+ <label for="gender">Gender:</label><br>
+ <select id="gender" name="gender">
+ <option value="Male">Male</option>
+ <option value="Female">Female</option>
+ <option value="Other">Other</option>
+ </select><br>
+
+ <label for="email">Email Address:</label><br>
+ <input type="email" id="email" name="email"><br>
+
+ <input type="submit" id="submit" value="Submit">
+ </form>
+</body>
+</html>