<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>用表单集制作登录表单</title> </head> <body> <!-- 用表单控件分组 <fieldset>,了解即可,实际工作中用得极少 --> <form action="" method="post"> <fieldset> <legend>用户登录</legend> <p><label>邮箱:<input type="email" name="email" placeholder="example@mail.com"></label></p> <p><label>密码:<input type="email" name="email" placeholder="Password"></label></p> <hr width="90%" color="lightskyblue"> <p><button type="submit" name="submit">立即登录</button></p> </fieldset> </form> </body> </html>
The above is the detailed content of Create login form in html. For more information, please follow other related articles on the PHP Chinese website!