Web/TP/TP2/ex1/ex1.html

47 lines
1.2 KiB
HTML
Raw Normal View History

2024-05-06 10:20:57 +02:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="http://www.iut-fbleau.fr/css/tacit.css">
<link rel="stylesheet" href="./css/style.css">
<title>Exercice 1</title>
</head>
<body container>
<div grid>
<div column="8 +2">
<h3> Exercice 1</h3>
<form action="ex1.php" method="POST">
<fieldset>
<legend>Qui êtes-vous ?</legend>
<!-- Text input-->
<label>Nom<br>
<input name="nom" placeholder="nom" type="text">
</label>
<!-- Text input-->
<label >Prénom<br>
<input name="prenom" placeholder="prénom" type="text">
</label>
<!-- Multiple Radios -->
2024-05-06 10:28:43 +02:00
<label class="control-label" for="radios">Genre</label>
2024-05-06 10:20:57 +02:00
<label>
2024-05-06 10:28:43 +02:00
<input name="genre" value="Homme" checked="checked" type="radio">
2024-05-06 10:20:57 +02:00
Homme
</label>
<label >
2024-05-06 10:28:43 +02:00
<input name="genre" value="Femme" type="radio">
2024-05-06 10:20:57 +02:00
Femme
</label>
2024-05-06 10:28:43 +02:00
<label >
<input name="genre" value="NonBinaire" type="radio">
Non Binaire
</label>
2024-05-06 10:20:57 +02:00
<!-- Button -->
<button type="submit">Envoyer</button>
</fieldset>
</form>
</div>
</div>
</body>
</html>