Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
input type week really exist in HTML5?
The tag designates a field for user-enterable data. The most significant form element is the element. Depending on the type attribute, the element can be presented in a number of different ways.
The input element denotes a field for a week input because it has the value "week" in its type property. Instead of requiring users to input the value as a string, these fields could be represented in supporting browsers by controls that let users update it graphically (such as a calendar, for example).
Let?s jump into the article to discuss more about input type week really exist in HTML5.
A week and year value can be entered into an input field created by the tag with the type=week attribute. There is a calendar icon inside this area. This icon's click activates a week/year selector. Each browser has a unique user interface for the control. Support from browsers is patchy. A week and year formatted manual entry is also permitted in the week field.
Syntax
Following is the syntax for HTML input type=week
<input type="week">
Let?s look into the following examples for getting better understanding on input type=" week".
Example
In the following example we are simply creating a
