web analytics

New input types in HTML5

HTML5 gives us different input type Which makes very easy to implement HTML code. The input types are given below.

Type Value
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

Bivash Kanti Pal

Hi guys, This is the place where developers are sharing there thoughts....

2 thoughts on “New input types in HTML5

  • August 19, 2013 at 7:50 pm

    Not only in input tag, Html5 allows for non-html markups such as SVG support and MathMl to be used inside document, is really helpful for current applications. If you want to go more complex such as, with SVG foreignObject element you could nest MathML, HTML, or both inside an SVG fragment that is itself inside HTML.. 🙂

  • August 19, 2013 at 11:35 pm

    Thanks Rajib, it’s awesome info from you, we really thanks to you for this info.


Leave a Reply

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

Result of *Captcha loading...

Do NOT follow this link or you will be banned from the site!