使用HTML制作简单表单时使用到提交和重置按钮未起到作用
vscode吧
全部回复
仅看楼主
level 1
听1435528636 楼主
代码如下:
<!DOCTYPE html><html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>xxxx</title></head>
<body>
<from action="xxx.php" method="get">
user: <input type="text" value="请输入用户名" name="username" maxlength="6">
<br/>password: <input type="password" value="" name="password" maxlength="5">
<br><input type="submit" value="提交" name="tj">
<input type="reset" value="重置" name="cz">
</from>
</body>
</html>
2021年07月08日 12点07分 1
level 1
我的代码也差不多,但点了提交按钮和重置按钮没反应,兄弟你解决了吗,解决了能分享一下怎么解决[小乖]
2022年06月01日 07点06分 2
level 1
解决了吗?可以说一下吗?我也是一样
2023年12月14日 00点12分 3
1