当前位置:主页 > 查看内容

html中的meta标记简单对照

发布时间:2021-06-22 00:00| 位朋友查看

简介:meta标记用于定义文件信息,对网页文件进行说明,便于搜索引擎查找。放置于head/head之间 设置关键字: meta name=keywords content=value多个关键字内容之间可以用,分隔 设置描述:meta name=description content=value 设置作者:meta name=author content……
meta标记用于定义文件信息,对网页文件进行说明,便于搜索引擎查找。放置于<head></head>之间

设置关键字:
<meta name=”keywords” content=”value”>多个关键字内容之间可以用“,”分隔
设置描述:<meta name=”description” content=”value”>
设置作者:<meta name=”author” content=”作者名”>
设置字符集:<meta http-equiv=”content-type” content=”text/html;charset=gb2312”>
设置页面定时跳转:<meta http-equiv=“refresh"content="2;URL=http://www.itcast.cn" />

原文链接:https://m.jb51.net/web/67045.html
本站部分内容转载于网络,版权归原作者所有,转载之目的在于传播更多优秀技术内容,如有侵权请联系QQ/微信:153890879删除,谢谢!

推荐图文


随机推荐