立诚勿怠,格物致知
It's all about connecting the dots

Forms in HTML

Forms in HTML
Tag Attribute Meaning
form   A tag that contains any of the following tags, making them into a valid HTML form
  action The name of the server-side CGI that is run when control is pased back to the Web server
input   A form field of varying types, depending on the value of the type attribute
  class The class assigned to the element
  id The unique id assigned to the element; as with JavaScript objects, no spaces or punctuation marks are allowed, and the id cannot start with a nuber
  name Primarily used to group sets of radio buttons
  maxlength The maximum length entry that the user may enter in this field
  size The number of characters that are displayed on the page
  type The type of input required; possible values include button, checkbox, image, password, radio, reset, submit, and text
  value The preset value of this form field
label   Used to specify labels for controls that do not have build-in labels, such as text fields, check boxes, radio buttons, and menus
  for Associates the label with a specific element’s id
option   The possible options available inside a select tag
  selected Indicates whether this option is selected as the default
  value The preset value of each option
select   A form field that is either a pop-up menu or a scrolling list, based on the size attribute
  class The class assigned to the element
  id The unique id assigned to the element
  size The number of options that are displayed on the page; if the attribute is set to 1, or this attribute is not present, the result is a pop-up menu

Reference: JavaScript Visual QuickStart Guide, 8th Edition

赞(0) 打赏
文章名称:《Forms in HTML》
文章链接:https://www.orzzone.com/forms-in-html.html
商业联系:yakima.public@gmail.com

本站大部分文章为原创或编译而来,对于本站版权文章,未经许可不得用于商业目的,非商业性转载请以链接形式标注原文出处。
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

大前端WordPress主题 更专业 更方便

支持快讯、专题、百度收录推送、人机验证、多级分类筛选器,适用于垂直站点、科技博客、个人站,扁平化设计、简洁白色、超多功能配置、会员中心、直达链接、文章图片弹窗、自动缩略图等...

去看看

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力提供更多优质内容!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册