0 votes
in HTML by

Can you list the new input type attributes in HTML5 ?

1 Answer

0 votes
by

Yes, we can use below new input type Attribute in HTML5

tel The input is of type telephone number

search The input field is a search field

url a URL

email One or more email addresses

datetime A date and/or time

date A date

month A month

week A week

time The input value is of type time

datetime-local A local date/time

number A number.

range A number in a given range.

color A hexadecimal color, like #82345c

placeholder Specifies a short hint that describes the expected value of an input field.

Related questions

0 votes
asked Oct 23, 2019 in HTML by AdilsonLima
0 votes
asked Oct 23, 2019 in HTML by AdilsonLima
...