generated from Templates_CodeFirst/templateHtmlCss
ajout formulaire php
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4e9607f6b2
commit
45c2725f96
@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>PHP Form Example</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form action="process.php" method="POST">
|
||||||
|
<!-- Last Name Input (required) -->
|
||||||
|
<label for="last_name">Last Name:</label>
|
||||||
|
<input type="text" id="last_name" name="last_name" required><br><br>
|
||||||
|
|
||||||
|
<!-- First Name Input (required) -->
|
||||||
|
<label for="first_name">First Name:</label>
|
||||||
|
<input type="text" id="first_name" name="first_name" required><br><br>
|
||||||
|
|
||||||
|
<!-- Age Input (number type) -->
|
||||||
|
<label for="age">Age:</label>
|
||||||
|
<input type="number" id="age" name="age" min="0" step="1"><br><br>
|
||||||
|
|
||||||
|
<!-- Gender Selection -->
|
||||||
|
<label for="gender">Gender:</label>
|
||||||
|
<select id="gender" name="gender">
|
||||||
|
<option value="male">Male</option>
|
||||||
|
<option value="female">Female</option>
|
||||||
|
<option value="other">Other</option>
|
||||||
|
</select><br><br>
|
||||||
|
|
||||||
|
<!-- Submit Button -->
|
||||||
|
<input type="submit" value="Submit">
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in new issue