Repozitář pro 3.IM pro úvod do HTML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

58 lines
2.3 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tabulka</title>
</head>
<body>
<div style="text-align: center;">
<h1 >Formulář</h1>
<a href="index.html">HOME</a>
<hr>
<form action="formular.html" method="get">
<label for="jmeno">Jmeno:</label>
<input type="text" name="jmeno" id="jmeno">
<br>
<label for="heslo">Heslo:</label>
<input type="password" name="heslo" id="heslo">
<br>
<label for="vyber">Oblíbeny nápoj</label>
<select name="vyber" id="vyber">
<option value="1">Coca-Cola</option>
<option value="2">Sprite</option>
<option value="3">Fanta</option>
<option value="4">Kofola</option>
</select>
<!-- Input type:radio -->
<p>Oblíbený předmět</p>
<input type="radio" name="predmet" id="WTL" value="WTL">
<label for="WTL">WTL</label>
<input type="radio" name="predmet" id="PRG" value="PRG">
<label for="PRG">PRG</label>
<input type="radio" name="predmet" id="MAT" value="MAT">
<label for="MAT">MAT</label>
<br>
<!-- Checkbox -->
<p>Kontrola: Co nalezneme uvnitř počítače</p>
<input type="checkbox" name="cpu" id="cpu" value="cpu">
<label for="cpu">Procesor</label>
<input type="checkbox" name="gpu" id="gpu" value="gpu">
<label for="gpu">Grafická karta</label>
<input type="checkbox" name="mouse" id="mouse" value="mouse">
<label for="mouse">Myš</label>
<input type="checkbox" name="printer" id="printer" value="printer">
<label for="printer">Tiskárna</label>
<input type="checkbox" name="chair" id="chair" value="chair">
<label for="chair">Židle</label>
<br>
<input type="button" value="MAGIC!" onclick="alert('MAGIIIIC!!!')">
<br>
<input type="submit" value="Odeslat na kontrolu">
</form>
</div>
</body>
</html>