(仅使用html):html未通过url提交数据

(仅使用html):html未通过url提交数据,html,Html,未使用通过url提交发送的数据。当我单击提交时,url没有键值对。注意:我没有命名任何正在运行的内容 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0&q

未使用通过url提交发送的数据。当我单击提交时,url没有键值对。注意:我没有命名任何正在运行的内容

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Assignment1.19</title>
</head>

<body>
  <h1>Register</h1>
  <form class="" action="#" method="GET">
  <div class="">
    <label for="hi" >First Name:</label>
    <input id="hi" type="text" name="" value="" placeholder="Jane" name= "hello" required autofocus>
    <label for="no">Last Name:</label>
    <input id="no" type="text" name="" value="" placeholder="Doe"name= "naw" required>
    <br>
  </div>
  <div class="">
    <button type="submit" name="button">Submit</button>
  </div>
  </form>
</body>
</html>

转让1.19
登记
名字:
姓氏:

提交
您有两个
名称
属性,没有

您还应该使用空格分隔每个属性


另外,您的
操作
应该指向处理请求的URL。

嗨,我的错。我在最后的代码中写下了名称和值。我没有输入链接到行动,没有什么不同。因此我暂时把它删掉了。