html meta标签

meta标签可以模拟部分响应头。

<meta http-equiv="content-type" content = "text/html;charset=UTF-8"/> 定义响应头的文本格式

<meta http-equiv="refresh" content = "2;url='1.html'"/> 两秒后刷新到新页面。

还可优化被搜索几率。详情参考api:

http://www.w3school.com.cn/tags/tag_meta.asp

原文地址:https://www.cnblogs.com/flying607/p/3450525.html