a
This commit is contained in:
38
WS24_25/WebTech/web-pruefung-projekt/aufgabe2/html-form.html
Normal file
38
WS24_25/WebTech/web-pruefung-projekt/aufgabe2/html-form.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user