无涯教程-HTML5 - week属性函数

59 阅读1分钟

根据ISO 8601编码的日期,由年和周组成。

<!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>

运行上面代码输出

参考链接

www.learnfk.com/html5/html5…