In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you what the meaning of name and value in html is. The content is simple and clear. I hope it can help you solve your doubts. Let me take you to study and learn this article "what is the meaning of name and value in html".
In html, name means "name" and is used to define the name of a control, and multiple controls can take the same name, while value means "value" and is used to define the content value of the control.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
Introduction to the function and use of value and name attributes in Html
Name is the name of the control (multiple controls can take the same name), and value is the value of the control. The following is to introduce the meaning and examples represented by buttons, check boxes, radio boxes, drop-down menus, and value in hidden fields. Friends with this need can refer to it.
1. The value used in the button refers to the text to be displayed on the button, such as "OK", "delete", etc.
2. The value used in the check box refers to the value of this check box
3. The value used in the radio box is the same as the check box.
4. The value used in the drop-down menu is the value of each child item in the list
5. The value used to hide the domain is the content displayed in the box.
In the background, if you want to get the content of the check box, it is value to get it.
When you get the data from the page that receives the form data, you get the value of value
1. Name is the name of the control (multiple controls can have the same name), and value is the value of the control
2. Not all value of controls will be displayed, such as checkbox, radio, hidden
3. By defining the name and value of the control, you can get the control and its value on the server
4. Not seeing the name of submit does not mean that the browser ignores its name. Before submitting it, it is also defined by the browser as name, and its name and value are also available on the server.
5, the control does not define name/value can also be displayed, only in order to facilitate the server to receive and distinguish, to define its name/value, of course, the button value is not only to store its value, but also used to display.
FlowersGardensTreesvjnbvccvb
The above is about "what is the meaning of name and value in html". If this article is helpful to you and think it is well written, please share it with your friends to learn new knowledge. if you want to know more about it, please pay more attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.