H5
HTML5 html的第五次重大修改的版本
新添加了 语义化结构标签
section 区域板块 用来划分外围结构
article 文章内容 用来划分某一板块的内容区域
aside 侧边栏 与article一起 与内容相关的侧边栏
header 头部 网页的头部 也可以是某一板块的头部
footer 底部 网页的底部 也可以是某一板块的底部
nav 导航栏
hgroup 标题组
figure 独立的内容 类似dl
figcaption 内容的标题
dialog 类似于微信的对话框
main 主题部分 (IE不兼容)
mark 高光 类似于span
time 时间 新闻列表的时间
视频与音频 video 视频
属性值
contrals 视频控件
autoplay 自动播放
loop 循环播放
muted 静音
poster 视频未加载出来显示的图片
cource 定义 视频类型 type video/ogg video/mpeg4 video/webm
audio 音频
属性值
contrals 视频控件
autoplay 自动播放
loop 循环播放
muted 静音
cource 定义 音频类型 type audio/ogg audio/mpeg3
表单控件类型
<input type="text"> 文本框
<input type="password"> 密码框
<input type="submit"> 提交按钮
<input type="reset"> 重置按钮
<input type="button"> 空按钮
<input type="file"> 上传文件
<input type="email"> 输入邮箱地址
<input type="url"> 输入网址 http://
<input type="color"> 选择颜色
<input type="range"> 滑动条
<input type="number"> 数字
<input type="time"> 限制输入为时间
<input type="month"> 限制输入为月
<input type="week"> 限制输入为周
<input type="search"> 搜索框
<input type="datetime-local">
<input type="date">