Home  >  Article  >  Web Front-end  >  Concise version of HTML5 study notes (5): type super type of input

Concise version of HTML5 study notes (5): type super type of input

黄舟
黄舟Original
2017-01-21 16:40:381508browse

HTML5 adds a variety of enumeration values ​​to the input type type to express different meanings. It also has a verification function. If the format is incorrect, the browser will initially provide an error prompt. It is super awesome. The details are as follows :



Keyword

Data type

hidden

Any character

text

Single line text

search

Single line text

tel

Single line text

url

Absolute address

email

One or more email addresses

password

Single line text

datetime

Time with time zone

date

Year, month, day and time without time zone

month

Year and month without time zone

week

Number of weeks without time zone

time

Time without time zone (hours, minutes, seconds, milliseconds)

datetime-local

Date without time zone with time

number

numeric value

range

Range:

color

8-bit color represented

checkbox

checkbox

radio

radio

file

File

submit

Submit button

image

Image button

reset

n/a

button

n/a

Reference: http://www.mhtml5.com/resources/html5%E6%95 %99%E7%A8%8B%EF%BC%88%E5%85%AD%EF%BC%89-html5-input%E7%B1%BB%E5%9E%8B



At this point in my study, I found that there is already a lot of ready-made information on the mhtml5 website, so please refer to the information on the website for some of the following new elements. I will focus on continuing to learn the updates and changes of HTML5 on existing elements. .

figure element

figcaption element

track element

embed element

mark element

progress element

time element

ruby, rt and rp elements

bdi element

wbr element

canvas element

command element

details element

The above is the concise version of HTML5 study notes (5): the content of the type super type of input. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
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