ponozky/stranky/formular.html
2024-06-05 20:57:51 +02:00

50 lines
1.7 KiB
HTML

<form method="get">
<br>
<label for="email">Tu si môžete zadať email:</label><br>
<br>
<input type="email" id="email" name="email">
<input type="submit" value="Odoslať">
<hr>
</form>
<form action="/action_page.php" method="get" name="prihlasenie">
<!-- method moze naberat dve hodnoty post alebo algebricky, default je get-->
<br>
<label>Tu si zadajte meno a priezvisko</label>
<br>
<br>
<label for="name">Meno</label><br>
<input type="text" id="name" name="fname" value="Fero"><br>
<br>
<label for="name1">Priezvisko</label><br>
<input type="text" id="name1" name="1name" value="Mrkvicka"><br><br>
<input type="submit" value="Odoslať">
<hr>
<br>
<label for="gender">Pohlavie</label><br><br>
<input type="radio" id="idmale" name="gender" value="male">
<label for="idmale">Muž</label><br>
<input type="radio" id="idfemale" name="gender" value="female">
<label for="idfemale">Žena</label><br>
<input type="radio" id="idother" name="gender" value="other">
<label for="idother">Iné</label><br><br>
<input type="submit" value="Odoslať">
<hr>
<laber for="roknarodenia">Rok narodenia</laber>
<br><br>
<input type="date" id="datemin" name="datemin" min="1000-01-01"><br><br>
<input type="submit" value="Odoslať">
<hr>
</form> <br>
<form>
<label for="favcolor">Select your favorite color:</label><br>
<br>
<input type="color" id="favcolor" name="favcolor">
<br><br>
<input type="submit" value="Odoslať">
</form>