加上name属性,用户名为啥还是不提示之前的输入数据呢
来源:3-8 编程练习
小鲜花
2019-05-18 11:40:57
<html> <head> <meta charset="utf-8"> <title>表单新属性autofocus</title> </head> <body> <!-- 此处写代码 --> <form> 用户名:<input type="text" name="text" autofocus="autofocus"><br/><br/> 请输入密码:<input type="text" name="pwd" autocomplete="off"><br/><br/> <input type="button" name="botton" value="注册"> </form> </body></html>
1回答
同学你好!
在注册的时候需要写类型为提交哦,这样才可以记录之前已输入过的内容


祝学习愉快 望采纳~
相似问题