Home > Web Front-end > HTML Tutorial > I just don't understand html form_html/css_WEB-ITnose

I just don't understand html form_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:21
Original
1326 people have browsed it

What is the use of name and value


Reply to discussion (solution)

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















Is this a URL /example/ html/frame_a.html Why does it look like this? At the same time, it is the website of my post http://bbs.csdn.net/topics/390946348?page=1#new_post This website is followed by a string of /topics/390946348?page=1# What is new_post
How should the URL look like







Some older browsers do not support inline frames.


If not supported, iframe is invisible.





Teaching in W3school /example/html/demo_iframe.html What is this website?

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template