HTML/input: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎type email: type=email better validity test from Paul Rouget)
(→‎type url: implementation notes)
Line 44: Line 44:
==== type url ====
==== type url ====
* http://diveintohtml5.org/examples/input-type-url.html
* http://diveintohtml5.org/examples/input-type-url.html
Implementation notes:
* Browser should allow user to type in a URL ''without'' "http://" and then simply imply it as the default protocol.


=== type - new simple type values ===
=== type - new simple type values ===

Revision as of 14:25, 1 September 2010

Welcome to the Mozilla wiki page on the HTML5 <input> element. Please feel free to contribute new test pages or new sections. -- Tantek

This article is a stub. You can help MozillaWiki by expanding it.

input element test pages

General input element test pages:

specific attributes and types

Smaller more atomic tests for specific input element attributes and types.

autofocus

placeholder

type - datetime values

type year

proposed on WHATWG wiki http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs and mailing list http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027725.html

type month

type week

type date

type datetime

type datetime-local

type time

type month-day

proposed on WHATWG wiki http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs and mailing list http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027725.html

type - identifier related values

type email

type tel

type url

Implementation notes:

  • Browser should allow user to type in a URL without "http://" and then simply imply it as the default protocol.

type - new simple type values

type color

type number

type range

type - new special text values

type search

see also