Jinsi ya Kutumia Forms kwa Registration na Login
🌍 https://www.faulink.com • 📞 +255 693 118 509
Tags:
HTML Forms, registration form, login form, form handling, faulink
Keywords:
html form example, registration form html, login form tutorial
Code (save as video17.html)
<!DOCTYPE html>
<html lang="sw">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Forms - Registration & Login</title>
</head>
<body>
<h1>Student Registration</h1>
<form method="post" action="register.php">
<label>Jina: <input type="text" name="name" required></label><br>
<label>Phone: <input type="tel" name="phone"></label><br>
<label>Email: <input type="email" name="email" required></label><br>
<button type="submit">Sajili</button>
</form>
<h2>Login</h2>
<form method="post" action="login.php">
<label>Email: <input type="email" name="email" required></label><br>
<label>Password: <input type="password" name="password" required></label><br>
<button type="submit">Ingia</button>
</form>
</body>
</html>