What is the use of name and value
The name attribute specifies the name of the input element.
The name attribute is used to identify the form data after it is submitted to the server, or to reference the form data through JavaScript on the client.
value is the value of the input element.
About the URL issue in the frame For example
Some older browsers do not support inline frames.
If not supported, iframe is invisible.
name is used to get its value when you use this control in the future, just like a person’s name
value is its value
You can call name in the future to get the contents of value
Go take a look at http://www.w3school.com.cn/tags/tag_input.asp. The value will be useful when you need to save it to the database later.