programko/Záriš_Šimon_1.C.html
2024-03-21 10:25:45 +01:00

80 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<title>registracny formular 2 test</title>
<link rel="stylesheet" href="https://www.wz.sk/admin/filemanager/edit?file=%2Fweb%2Fuprava.css&dir=%2Fweb%2F">
</head>
<body>
<h2>Registracny formular</h2>
<br>
<!--method get alebo post-->
</body>
<h2>Meno a Priezvisko</h2>
<form action="http://localhost/adlerka/action_page.php" method="get" name="prihlasenie">
<!-- method moze nadobudat dve hodnoty post alebo get,
default je get -->
<label for="namef">Meno:</label><br>
<input type="text" id="namef" name="fname" value="Meno"><br>
<label for="namel">Priezvisko:</label><br>
<input type="text" id="namel" name="lname" value="Priezvisko"><br><br>
<input type="submit" value="Potvrdiť">
</form>
<br>
<h2>Pohlavie</h2>
<form>
<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">50/50</label><br><br>
<input type="submit" value="Potvrdiť">
</form>
<br>
<h2>Vlastnosti</h2>
<form method="post" name="test">
<input type="checkbox" id="hodnota1" name="hodnota1" value="Dobrosrdečný">
<label for="hodnota1"> Dobrosrdečný</label><br>
<input type="checkbox" id="hodnota2" name="hodnota2" value="Vytrvalý">
<label for="hodnota2"> Vytrvalý</label><br>
<input type="checkbox" id="hodnota3" name="hodnota3" value="Rozvážlivý">
<label for="hodnota3"> Rozvážlivý</label><br>
<input type="checkbox" id="hodnota4" name="hodnota4" value="Zábavný">
<label for="hodnota4"> Zábavný</label><br>
<input type="checkbox" id="hodnota5" name="hodnota5" value="Komunikatívny">
<label for="hodnota5">Komunikatívny</label><br>
<input type="checkbox" id="hodnota6" name="hodnota6" value="Múdry">
<label for="hodnota6"> Múdry</label><br><br>
<input type="submit" value="Potvrdiť">
</form>
<br>
<h2>Dátum narodenia</h2>
<form action="">
<label>Vypíšte</label>
<input type="date" id="min" name="min" min="1400-01-01"
type="date" id="max" name="max" max="3000-01-01"><br><br>
<input type="submit" value="Potvrdiť">
</form>
<br>
<h2>Obľubená farba</h2>
<form>
<label for="favcolor">:</label>
<input type="color" id="favcolor" name="favcolor"><br><br>
<input type="submit" value="Submit">
</form>
<br>
<h2>Email</h2>
<form method="get">
<label for="email">Napíšte email:</label>
<input type="email" id="email" name="email">
<input type="submit" value="Potvrdiť">
</form>