案例:html案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<p>
6
Depending on browser support:<br>
7
A date picker can pop-up when you enter the input field.
8
</p>
9
10
<form action="/example/html/form_action.aspx">
11
  Select a week:
12
  <input type="week" name="year_week">
13
  <input type="submit">
14
</form>
15
16
<p><b>Note:</b>
17
type="week" is not supported in Internet Explorer.
18
</p>
19
20
</body>
21
</html>