Categories

Oct 23, 2019 in HTML

Q:

Can you list the new input type attributes in HTML5 ?

1 Answer

Oct 23, 2019

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.

Click here to read more about HTML
Click here to read more about Insurance

Related questions

Madanswer
Oct 23, 2019 in HTML
Oct 23, 2019 in HTML
Aug 17 in HTML
...