P2B-WEB-2026_2025/block-01/week-02-html_and_the_dom/demo/register.html
2026-07-02 22:26:18 +02:00

36 lines
1,001 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Register Form</title>
</head>
<body>
<form action="">
<h1>Register Form</h1>
<label>
Username
<input type="text" required minlength="2" maxlength="32" />
</label>
<label>
Email
<input type="email" required />
</label>
<label>
Password
<input type="password" required minlength="8" maxlength="32" />
</label>
<label>
Confirm Password
<input type="password" required minlength="8" maxlength="32" />
</label>
<label>
<input type="checkbox" required />
I agree to the terms and conditions
</label>
<button type="submit">Register</button>
<p>Already have an account? <a href="index.html">Sign in</a></p>
</form>
</body>
</html>