Agyan
adda
Run
Reset
Copy
HTML Tutorial › HTML Forms › A simple login form
Back to tutorial
Code
Edit, then press Run or Ctrl+Enter
<form action="/login" method="post"> <label for="email">Email</label><br> <input id="email" type="email" name="email" required><br><br> <label for="pass">Password</label><br> <input id="pass" type="password" name="password" required><br><br> <button type="submit">Log in</button> </form>
Result