Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does input mean in html5

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what does input refer to in html5". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what does input refer to in html5"?

Input stands for "input box" in html5 and specifies the input field in which the user can enter data; depending on the type property in input, the input field can be in a variety of forms, such as text field, check box, password field, radio button, button, and so on.

The operating environment of this tutorial: windows7 system, CSS3&&HTML5 version, Dell G3 computer.

Input stands for "input box" in html5.

The label specifies the input field in which the user can enter data.

Element is used in the element to declare an input control that allows the user to enter data.

Syntax:

Input fields come in a variety of forms depending on the type property. Input fields can be text fields, check boxes, password fields, radio buttons, buttons, and so on.

Type of input element-- A value that can be set by the type attribute

Value description button defines clickable buttons (usually used with JavaScript to start a script). Checkbox definition check box. Color defines the color picker. Date defines date controls (including year, month, day, not time). Datetime defines date and time controls (including year, month, day, hour, minute, second, fraction of a second, based on the UTC time zone). Datetime-local defines date and time controls (including year, month, day, hour, minute, second, fraction of a second, without time zone). Email defines the fields used for e-mail addresses. File defines file selection fields and "browse." Button for file upload. Hidden defines hidden input fields. Image defines the image as the submit button. Month defines month and year controls (without a time zone). Number defines the fields used to enter numbers. Password defines the password field (the characters in the field are obscured). Radio defines radio buttons. Range defines controls (such as slider controls) that are used to enter numbers whose exact values are not important. Reset defines the reset button (resets all form values to default values). Search defines the text field used to enter the search string. Submit defines the submit button. Tel defines the fields used to enter phone numbers. Text defaults. Define a single-line text field (the default width is 20 characters). Time defines the control (without time zone) that is used to enter time. Url defines the fields used to enter URL. Week defines week and year controls (without a time zone).

Example:

I have a bike.

I have a car.

I have a boat.

Choose the color you like:

Birthday (date and time):

Thank you for your reading, the above is the content of "what input refers to in html5". After the study of this article, I believe you have a deeper understanding of what input refers to in html5, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report