Which input control represents a date encoded according to ISO 8601 in Web Form 2.0? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which input control represents a date encoded according to ISO 8601 in Web Form 2.0?

Which of the following input control represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0? A - datetime B - datetime-local C - date D - month

14th Mar 2017, 5:25 AM
Doreen Jeptoo
Doreen Jeptoo - avatar
1 Answer
+ 6
@Aditya kumar i think from your reference at tutorials point, the answer is date as it is specifically for the (year, month, day) category... the others either specify further or less 1datetime A date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC. 2datetime-local A date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601, with no time zone information. 3date A date (year, month, day) encoded according to ISO 8601. 4month A date consisting of a year and a month encoded according to ISO 8601. 5week A date consisting of a year and a week number encoded according to ISO 8601. 6time A time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601.
14th Mar 2017, 7:33 AM
Doreen Jeptoo
Doreen Jeptoo - avatar