BasesWeb/BACKEND/PHP/tp2/ex1/ex1.html

44 lines
1.0 KiB
HTML
Raw Normal View History

2023-04-20 11:27:24 +02:00
<!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>