Application example of type attribute of form tag in html

不言
Release: 2018-08-20 18:03:43
Original
3003 people have browsed it

This article brings you some application examples of the type attribute of form tags in HTML. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

单标签 
Copy after login

type attribute:

  1. text (single-line text input box)

  2. password (password input box)

  3. radio (radio button)

  4. checkbox (checkbox)

  5. button (normal button)

  6. submit (submit button)

  7. reset (reset button)

  8. image (image Submit button in the form)

  9. file (file domain)
    name Customized control name
    value Customized The default text value in the input control
    size Positive integer input The display width of the control on the page
    checked checked Defines the default selected items of the selection control
    maxlength is a positive integer The maximum number of characters allowed to be entered by the control

  表单设置

青春不常在,抓紧谈恋爱

性别
生日
所在地区
所在地区编码 23 34 56 67
用户名
密码 //控制最多输入6个字
注册
上传头像
自我介绍
我同意
我是会员立即注册

我承诺

  • 辅导班v
  • 发给你发
  • vfbf
  • 房间打开
Copy after login

Related recommendations:

html What does the strong tag mean? Introduction to the specific usage of the strong tag in html

html What is the role of the link tag? Definition and attribute introduction of html link tag

The above is the detailed content of Application example of type attribute of form tag in html. For more information, please follow other related articles on the PHP Chinese website!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!