Files
FH/WS24_25/WebTech/web-pruefung-projekt/aufgabe2/html-form.html
2025-02-04 20:42:51 +01:00

38 lines
735 B
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<title>Registrierung</title>
<meta charset="utf-8" />
</head>
<body>
<h2>Registrierung</h2>
<form action="/registration" method="post">
<label>
Nickname:
<input name="name"
type="text"
pattern="[a-z]{5}[0-9]{1,3}"
>
</label>
<label>
Password:
<input name="password"
type="password"
minlength="10"
>
</label>
<fieldset >
<legend>Datenschutz</legend>
<input type="checkbox" required> Ich stimme der Datenschutzerklärung zu
</fieldset>
<fieldset>
<input type="submit" value="Registrierung">
</fieldset>
</form>
</body>
</html>