双标签
1.块元素 header nav footer main(只能有一个)aside article
2.<figure> <figcaption>独立流内容标题</figcaption>独立流内容(图标,代码,图片变革3.)</figure>
3. <detail><summary>概要,标题</summary>内容</detail>
4.<progress value="进度值" min=“”最小值“” max=“最大值”></progress>
5.<meter value="值" min=""max="" low="" high="">你的浏览器不支持</meter>
6.<time datatime="yyyy-mm-dd"></time>
7.<mark>标记</mark>
8. Input 类型 - Date Pickers(日期选择器)
date - 选取日、月、年
month - 选取月、年
week - 选取周和年
time - 选取时间(小时和分钟)
datetime - 选取时间、日、月、年(UTC 时间)
datetime-local - 选取时间、日、月、年(本地时间)
<input type="date" name="user_date" /> 9.Input 类型 - search(搜索
9.search 类型用于搜索域,比如站点搜索或 Google 搜索。
search 域显示为常规的文本域。
Input 类型 - color(颜色)
10.<input type="color">
11.input 类型 ---tel(电话号码) telphone
定义用于输入电话号码的字段。
<input type="tel" name="tel">
autofocus 属性
autofocus 属性规定在页面加载时,域自动地获得焦点。
注释:autofocus 属性适用于所有 <input> 标签的类型。
User name: <input type="text" name="user_name" autofocus="autofocus" />
12.laceholder 属性
placeholder 属性提供一种提示(hint),描述输入域所期待的值。
注释:placeholder 属性适用于以下类型的 <input> 标签:text, search, url, telephone, email 以及 password。
<input type="search" name="user_search" placeholder="Search" />
13. required 属性
required 属性规定必须在提交之前填写输入域(不能为空)。
Name: <input type="text" name="usr_name" required="required" />
14.音频和视频
Audio和Video是首批添加到HTML规范中的标签。它们的加入使得我们可以像插入图片一样来处理音频及视频文件。
<audio src="sound.mp3" controls></audio>
<video src="movie.webm" autoplay controls></video>