Online Interview Questions

Prepare interviews on Anything, AnyWhere

PHPSCOTS,Blogger, Developer Views: 1317

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.

Leave a Reply

Your email address will not be published. Required fields are marked *