input type week really exist in HTML5?

JavascriptWeb DevelopmentFront End Scripts

Yes, input type = “week” exists and allows you to add date consisting of a year and a week number encoded according to ISO 8601. You can add it to the following:

<!DOCTYPE HTML>
<html>
   <body>
      <form action = "/cgi-bin/html5.cgi" method = "get">
         Week : <input type = "week" name = "newinput" />
         <input type = "submit" value = "submit" />
      </form>
   </body>
</html>
raja
Published on 10-Apr-2018 12:47:11
Advertisements