Logo F2FInterview

HTML5 Interview Questions

Q   |   QA

Yes we can use below new input type Attribute in HTML5

TypeValue
telThe input is of type telephone number
searchThe input field is a search field
urla URL
emailOne or more email addresses
datetimeA date and/or time
dateA date
monthA month
weekA week
timeThe input value is of type time
datetime-localA local date/time
numberA number
rangeA number in a given range
colorA hexadecimal color, like #82345c
placeholderSpecifies a short hint that describes the expected value of an input field

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: