lab-development-imb/web/07/demos/post_form.html

22 lines
637 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Einfaches Formular für Backend</title>
</head>
<body>
<form method="POST" action="http://localhost:8080">
<label for="name">Name</label>
<input name="name" id="name" />
<p>Hobbies:
<label><input type="checkbox" name="hobby" value="lesen"> Lesen</label>
<label><input type="checkbox" name="hobby" value="kochen"> Kochen</label>
<label><input type="checkbox" name="hobby" value="wandern"> Wandern</label>
</p>
<button type="submit">Absenden</button>
</form>
</body>
</html>