【HTML】表单练习

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="get" action="https://www.baidu.com/s?ie=UTF-8">
    用户名:<input type="text" placeholder="请输入关键字" name="wd"><br>
    密码: <input type="password" ><br>
    <input type="submit" value="登录">
    <button type="submit">登录</button>
    <input type="reset" value="清除">
</form>

</body>
</html>

posted @ 2022-03-12 20:17  木子欢儿  阅读(38)  评论(0编辑  收藏  举报