在研究如何用 HTML 编写表单时,我看到提到了术语“表单控件”。
特别是使用具有 form-control
和 control-label
类的 Twitter Bootstrap。
什么是“表单控件”?
最佳答案
A form is a component of a Web page that has form controls, such as text fields, buttons, checkboxes, range controls, or color pickers. A user can interact with such a form, providing data that can then be sent to the server for further processing (e.g., returning the results of a search or calculation). No client-side scripting is needed in many cases, though an API is available so that scripts can augment the user experience or use forms for purposes other than submitting data to a server.
表单控件是一种用户界面控件,用作用户和服务器之间的连接点。交互因控件类型而异:按钮:button
文件处理:input type="file"
菜单:select
等。并且也是 grouped into categories < br/>
控件本质上是一个键值对 API,用于来回 ping 到服务器。
W3C's Form Section 在遍历表单、表单元素、表单控件、表单所有者以及对 Internet 主力的内部工作原理的更多洞察方面提供了令人难以置信的信息:不起眼的 HTML form
。
引用资料:
Forms
HTMLFormElement
Association of Controls and Forms
XForms Glossary
Form Controls Infrastructure
关于html - 什么是 HTML 中的表单控件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31739685/