diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-08-24 22:52:23 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-08-24 22:52:23 +0530 |
commit | f5e5cfa6c26e6f41af74c33a5a6726e50ef164f1 (patch) | |
tree | c0a3b93b0af000933071da36351e2f9c7488b8b2 /Lab03/index.html | |
parent | 97e177c102a0bd32580c5f8b99d620924dae4a61 (diff) |
Lab03 - Create a Registration form using HTML Forms
Diffstat (limited to 'Lab03/index.html')
-rw-r--r-- | Lab03/index.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Lab03/index.html b/Lab03/index.html new file mode 100644 index 0000000..61b14e5 --- /dev/null +++ b/Lab03/index.html @@ -0,0 +1,40 @@ +<!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"><br> + <label for="lname">Last name:</label><br> + <input type="text" id="lname" name="lname"><br> + <label for="gender">Gender:</label><br> + <input type="text" id="gender" name="gender"><br> + <label for="regno">Registration Number:</label><br> + <input type="number" id="regno" name="regno"><br> + <label for="phone">Phone Number:</label><br> + <input type="number" id="phone" name="phone"><br> + <label for="email">Email Address:</label><br> + <input type="email" id="email" name="email"><br> + <br> + <label for="Department">Department: </label><br> + <input type="radio" id="it" name="department" value="IT"> + <label for="it">Information Technology</label><br> + <input type="radio" id="cse" name="department" value="CSE"> + <label for="cse">Computer Science and Engineering</label><br> + <input type="radio" id="mech" name="department" value="MECH"> + <label for="mech">Mechanical Engineering</label><br> + <input type="radio" id="civil" name="department" value="CIVIL"> + <label for="civil">Civil Engineering</label><br> + <input type="radio" id="ece" name="department" value="ECE"> + <label for="ece">Electronics and Communication Engineering</label><br> + <br> + <input type="submit" value="Submit"> + </form> +</body> +</html>
\ No newline at end of file |