HTML and CSS Reference
In-Depth Information
date input
Use the date <input> element to specify
a date, with a date picker control. The
control creates a valid date format string
to send to the server script.
<input type="date">
email input
The email <input> element is just a text
input, but on some mobile browsers,
you'll get a custom keyboard for email
when you start typing.
tel input
The tel <input> element is also just a text
input, but like email, causes a custom
keyboard to pop up on mobile devices.
<input type="tel">
<input type="email">
Thes
e three <
input> ty
pes are a
ll variatio
ns of the
url input
text
<input>
type. On
desktop b
rowsers y
ou won't
noti
ce a diff
erence. Bu
t on mob
ile browse
rs, you m
ight
get
a custom
keyboard
that mak
es it easi
er to get
to
Like email and tel, the url <input>
type is just a text input, but causes
a custom keyboard to pop up on
mobile devices.
the
characte
rs you nee
d, like /
and @ an
d numbers
.
<input type="url">