html5注解
1.元信息标记mate
<mate>标记可提供有关页面的元信息(mate-information),比如针对搜索引擎和更新频度的描述和关键词。
<mate>标记提供的属性及取值
属性 | 值 | 描述 |
charset | Character encoding | 定义文档的字符编码。 |
content | Some_text | 定义与http-equiv或name属性相关的元信息 |
http-equiv | content-type expires refresh set-cookie | 把content属性关联到HTTP头部 |
name | author description keywords generator revised others | 把content属性关联到一个名称。 |
<meta charset="UTF-8">
<meta name="keywards" content="关键词">
<meta name="description" content="网页的介绍">
<meta http-equiv="refresh" content="秒;[url=网址]">----网页的跳转或更新
2.常用特殊字符
显示 | 说明 | HTML编码 |
半角大的空白 | &ensp | |
全角大的空白 | &emsp | |
不断行的空白格 |   | |
< | 小于 | < |
> | 大于 | > |
& | &符号 | & |
" | 双引号 | " |
乘号 | × | |
除号 | ÷ | |
系统快捷键 1:windows+d:返回左面 2:windows+e:打开你的电脑资源页面 快捷键: 1:tab键:快速创建标签 2:ctrl+D:删除光标所在行 3:ctrl+/ ctrl+shift+/:快速添加多行注释 在js里分别为添加单行注释和多行注释 4:ctrl+alt+下方向键 :快速复制一行