介绍
meta
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>meta</title>
</head>
<script>
</script>
<body>
meta 标签 设置网页元数据
元数据是给浏览器看的
常用属性:
charset: 网页的字符集
name: 指定数据名称
content: 指定数据内容
1、keywords 网页关键字
可以同时指定多个关键字,关键字之间使用逗号分隔
<meta name="keywords" content="htm5 css"/>
2、description 用于指定网站的描述
会显示在搜索引擎的一个搜索结果
<meta name="description" content="htm5 css"/>
3、title标签的内容会作为搜索结果的超链接上的文字显示
4、http-equiv 表示网页跳转
<meta http-equiv="refresh" content="3;url=https:www.moliza.org"/>
表示3秒后跳转到 需要的网址
</body>
</html>