meta标签

<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <!--
            meta主要用于设置网页中的一些元数据,元数据不是给用户看
            charset 指定网页的字符集
            name 指定的数据的名称
            content 指定的数据的内容

                keywords 表示网站的关键字,搜索的关键字(百度搜索购物,出现京东网站)
                    可以同时使用多个关键字
                    <meta name="Keywords" content="网上购物,网上商城,家电,手机,电脑,服装,居家,母婴,美妆,个护,食品,生鲜,京东"/>
 
                description 用于指定网站的描述
                    <meta name="description"
                        content="京东JD.COM-专业的综合网上购物商城,为您提供正品低价的购物选择、优质便捷的服务体验。商品来自全球数十万品牌商家,囊括家电、手机、电脑、服装、居家、母婴、美妆、个护、食品、生鲜等丰富品类,满足各种购物需求。"/>
                        网站的描述会显示在搜索引擎的搜索的结果中
                   
         -->
ontent="HTML5,前端,CSS3">
         <meta name="description
         <meta name="keywords" c" content="这是一个非常不错的网站">
         <!-- <meta http-equiv="refresh" content="3,url=https:www.baidu.com"> -->
         <!--  
            <meta http-equiv="refresh" content="3,url=https:www.baidu.com">
            将页面重定向到另一个网站。
        -->


        <title>Document</title>
    </head>
    <body>

    </body>
</html>
posted @ 2022-07-01 19:13  学习让我充实  阅读(43)  评论(0)    收藏  举报