20 Avril
This commit is contained in:
43
BACKEND/PHP/tp2/ex1/ex1.html
Normal file
43
BACKEND/PHP/tp2/ex1/ex1.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.classless.min.css">
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
<title>Exercice 1</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h3> Exercice 1</h3>
|
||||
|
||||
<form action="ex1.php" method="POST">
|
||||
<fieldset>
|
||||
<legend>Qui êtes-vous ?</legend>
|
||||
<!-- Text input-->
|
||||
<label>Nom
|
||||
<input name="nom" placeholder="nom" type="text">
|
||||
</label>
|
||||
<!-- Text input-->
|
||||
<label >Prénom
|
||||
<input name="prenom" placeholder="prénom" type="text">
|
||||
</label>
|
||||
</fieldset>
|
||||
<!-- Multiple Radios -->
|
||||
<fieldset>
|
||||
<legend>Sexe</legend>
|
||||
<label>
|
||||
<input name="sexe" value="Homme" checked="checked" type="radio">
|
||||
Homme
|
||||
</label>
|
||||
<label >
|
||||
<input name="sexe" value="Femme" type="radio">
|
||||
Femme
|
||||
</label>
|
||||
<!-- Button -->
|
||||
</fieldset>
|
||||
<button type="submit">Envoyer</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user