zoukankan      html  css  js  c++  java
  • Meta标签基本使用

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>要挑 - 就是要,挑好的。</title>
    <meta name="keywords" content="要挑,要挑APP,要挑官网,要挑购物,要挑会员,要挑客服" />
    <meta name="description" content="要挑以“生活,就是要,挑好的”为理念,秉承严谨的态度,严控各个生产环节,优选产品,为用户提供母婴玩具、家居日用、美妆个护、新鲜美食等品类精选商品。为用户提供富质感的产品和服务,优化线上购物体验,提升用户生活幸福感。" />
    <meta name="renderer" content="webkit">

    1、Keywords (关键字)
       说明:为搜索引擎提供的关键字列表
       用法:<Meta name="Keywords" Content="关键词1,关键词2,关键词3,关键词4,……">
       注意:各关键词间用英文逗号“,”隔开。META的通常用处是指定搜索引擎用来提高搜索质量的关键词。当数个META元素提供文档语言从属信息时,搜索引擎会使用lang特性来过滤并通过用户的语言优先参照来显示搜索结果。例如:
          <Meta name="Kyewords" Lang="EN" Content="vacation,greece,sunshine">
          <Meta name="Kyewords" Lang="FR" Content="vacances,grè:ce,soleil">

      2、Description (简介)
       说明:Description用来告诉搜索引擎你的网站主要内容。
       用法:<Meta name="Description" Content="你网页的简述">
       注意:

      3、Robots (机器人向导)
       说明:Robots用来告诉搜索机器人哪些页面需要索引,哪些页面不需要索引。Content的参数有all、none、index、noindex、follow、nofollow。默认是all。
       用法:<Meta name="Robots" Content="All|None|Index|Noindex|Follow|Nofollow">
       注意:许多搜索引擎都通过放出robot/spider搜索来登录网站,这些robot/spider就要用到meta元素的一些特性来决定怎样登录。

        all:文件将被检索,且页面上的链接可以被查询;
        none:文件将不被检索,且页面上的链接不可以被查询;(和 "noindex, no follow" 起相同作用)
        index:文件将被检索;(让robot/spider登录)
        follow:页面上的链接可以被查询;
        noindex:文件将不被检索,但页面上的链接可以被查询;(不让robot/spider登录)
       nofollow:文件将不被检索,页面上的链接可以被查询。(不让robot/spider顺着此页的连接往下探找)

      4、Author (作者)
       说明:标注网页的作者或制作组
       用法:<Meta name="Author" Content="张三,abc@sina.com">
       注意:Content可以是:你或你的制作组的名字,或Email

      5、Copyright (版权)
       说明:标注版权
       用法:<Meta name="Copyright" Content="本页版权归Zerospace所有。All Rights Reserved">
       注意:

      6、Generator (编辑器)
       说明:编辑器的说明
       用法:<Meta name="Generator" Content="PCDATA|FrontPage|">
       注意:Content="你所用编辑器"

      7、revisit-after (重访)
       说明:
       用法:<META name="revisit-after" CONTENT="7 days" >
       注意:

  • 相关阅读:
    target runtime apache v6.0 not defined解决
    java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
    The valid characters are defined in RFC 7230 and RFC 3986问题
    invalid END header解决方法
    You have more than one version of ‘org.apache.commons.logging.Log’ visible, which is not allowed问题解决
    Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
    在eclipse中import java web项目时遇到的一些问题并将该项目通过tomcat发布
    java byte转string 涉及到字节流中有中文
    spring+mybatis框架搭建时遇到Mapped Statements collection does not contain value for...的错误
    试试看读一下Zepto源码
  • 原文地址:https://www.cnblogs.com/xiaozhang666/p/11352598.html
Copyright © 2011-2022 走看看