DEV/DEV1.2/TP02/exo2.html

72 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2024-12-02 09:38:04 +01:00
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="description" content="ma première page">
<meta name="keywords" content="html,but info Fontainebleau, ressource R1.02">
<meta name="author" content="Mathis Moogin">
<title>exo2</title>
</head>
<body>
<form action="https://dwarves.iut-fbleau.fr/requete.php" method="post">
<ul>
</ul>
<li>
<label for="nom">entrez votre nom:</label>
<input type="text" name="nom" id="nom" required />
</li>
<li>
<label for="prenom">entrez votre prenom:</label>
<input type="text" name="prenom" id="prenom" required />
</li>
<li>
<label for="date">entrez votre date de naissance:</label>
<input type="date" name="date" id="date" required />
</li>
<li>
<label for="email">entrez votre email:</label>
<input type="email" name="email" id="email" required />
</li>
<li>
<label for="postal">entrez votre code postal:</label>
<input type="number" name="postal" id="postal" required />
</li>
<li>
<label for="telephone">entrez votre numéro de téléphone:</label>
<input type="tel" name="telephone" id="telephone" pattern="[0-9]{10}" required />
</li>
<li>
<legend>choisissez votre sexe</legend>
<ul>
<li>
<input type="radio" id="FEMME" name="sexe" value="FEMME" checked />
<label for="FEMME">FEMME</label>
</li>
<li>
<input type="radio" id="HOMME" name="sexe" value="HOMME" checked />
<label for="HOMME">HOMME</label>
</li>
</ul>
</li>
<li>
<label for="semestre">Choisissez le semestre</label>
<select name="semestre" id="semestre">
<option value="S2">Semestre 2</option>
<option value="S1">Semestre 1</option>
<option value="S3">Semestre 3</option>
<option value="S4">semestre 4</option>
</select>
</li>
<li>
<label for="niveau">entrez votre niveau en html /10:</label>
<input type="range" name="niveau" id="niveau" min="0" max="10" value="5" required />
</li>
<li>
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5" cols="33">
</textarea>
</li>
<li><button>submit</button></li>
</form>
</body>
</html>