forked from WEB-IB-SS26/development-ib
33 lines
979 B
HTML
33 lines
979 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Hobbies</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Hobbies</h1>
|
|
<form method="post">
|
|
<label for="name">Vorname: </label>
|
|
<input type="text" name="name" id="name">
|
|
<label for="alter">Alter: </label>
|
|
<input type="number" name="alter" id="alter" min="0" max="99"><br><br>
|
|
<label for="hobby">Hobbies: </label>
|
|
<select name="hobby" id="hobby" multiple size="6">
|
|
<option value="Kochen">Kochen</option>
|
|
<option value="Fussball">Fußball</option>
|
|
<option value="Wandern">Wandern</option>
|
|
<option value="Laufen">Laufen</option>
|
|
<option value="Lesen">Lesen</option>
|
|
<option value="Stricken">Stricken</option>
|
|
</select>
|
|
<br>
|
|
<br>
|
|
<input type="submit" formaction="http://localhost:8080/insert" value="Einfügen">
|
|
<input type="submit" formaction="http://localhost:8080/update" value="Anpassen">
|
|
</form>
|
|
</body>
|
|
|
|
</html> |