<legend id='nJ1sJ'><style id='nJ1sJ'><dir id='nJ1sJ'><q id='nJ1sJ'></q></dir></style></legend>

      1. <small id='nJ1sJ'></small><noframes id='nJ1sJ'>

        • <bdo id='nJ1sJ'></bdo><ul id='nJ1sJ'></ul>
      2. <tfoot id='nJ1sJ'></tfoot>
        <i id='nJ1sJ'><tr id='nJ1sJ'><dt id='nJ1sJ'><q id='nJ1sJ'><span id='nJ1sJ'><b id='nJ1sJ'><form id='nJ1sJ'><ins id='nJ1sJ'></ins><ul id='nJ1sJ'></ul><sub id='nJ1sJ'></sub></form><legend id='nJ1sJ'></legend><bdo id='nJ1sJ'><pre id='nJ1sJ'><center id='nJ1sJ'></center></pre></bdo></b><th id='nJ1sJ'></th></span></q></dt></tr></i><div id='nJ1sJ'><tfoot id='nJ1sJ'></tfoot><dl id='nJ1sJ'><fieldset id='nJ1sJ'></fieldset></dl></div>

        响应头 VS 元标记

        response header VS meta tag(响应头 VS 元标记)
        <i id='xGhee'><tr id='xGhee'><dt id='xGhee'><q id='xGhee'><span id='xGhee'><b id='xGhee'><form id='xGhee'><ins id='xGhee'></ins><ul id='xGhee'></ul><sub id='xGhee'></sub></form><legend id='xGhee'></legend><bdo id='xGhee'><pre id='xGhee'><center id='xGhee'></center></pre></bdo></b><th id='xGhee'></th></span></q></dt></tr></i><div id='xGhee'><tfoot id='xGhee'></tfoot><dl id='xGhee'><fieldset id='xGhee'></fieldset></dl></div>

              <tbody id='xGhee'></tbody>
          • <small id='xGhee'></small><noframes id='xGhee'>

              <bdo id='xGhee'></bdo><ul id='xGhee'></ul>
              <tfoot id='xGhee'></tfoot>
              1. <legend id='xGhee'><style id='xGhee'><dir id='xGhee'><q id='xGhee'></q></dir></style></legend>

                  本文介绍了响应头 VS 元标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我可以在元标记或响应标头中声明一些信息,例如编码和语言.
                  我的问题:对于 SEO旧浏览器,最好的方法是什么(可能两者兼有)?

                  I can declare some info, like encoding and language, in meta-tag or in response-header.
                  My question: what the best way (maybe them both), for SEO and old-browsers?

                  元标记示例:

                  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
                  

                  (PHP) 标头示例:

                  (PHP) header example:

                  header('Content-Type: text/html; charset=utf-8');
                  

                  什么更好?

                  推荐答案

                  Meta http-equiv 只不过是个笑话.当用它指定 Content-Type 时,只有 charset 部分才算作任何事情,而且只有当真正的 HTTP 标头未能指定编码时.

                  Meta http-equiv is little more than a joke. When specifying Content-Type with it, only the charset section counts for anything, and then only when the real HTTP headers fail to specify the encoding.

                  这篇关于响应头 VS 元标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  quot;Status Code:200 OK (from ServiceWorker)quot; in Chrome Network DevTools?(“状态码:200 OK(来自 ServiceWorker)在 Chrome 网络开发工具中?)
                  How to set a header for a HTTP GET request, and trigger file download?(如何为 HTTP GET 请求设置标头并触发文件下载?)
                  Adding custom HTTP headers using JavaScript(使用 JavaScript 添加自定义 HTTP 标头)
                  What is quot;X-Content-Type-Options=nosniffquot;?(什么是“X-Content-Type-Options=nosniff?)
                  SmtpJs API not working! is there any way to send emails using SMTP server with JavaScript or JQuery(SmtpJs API 不工作!有没有办法使用带有 JavaScript 或 JQuery 的 SMTP 服务器发送电子邮件)
                  Can I send email using javascript(我可以使用 javascript 发送电子邮件吗)
                    <tbody id='5oFGP'></tbody>

                    <bdo id='5oFGP'></bdo><ul id='5oFGP'></ul>

                      <small id='5oFGP'></small><noframes id='5oFGP'>

                      <tfoot id='5oFGP'></tfoot>

                      1. <i id='5oFGP'><tr id='5oFGP'><dt id='5oFGP'><q id='5oFGP'><span id='5oFGP'><b id='5oFGP'><form id='5oFGP'><ins id='5oFGP'></ins><ul id='5oFGP'></ul><sub id='5oFGP'></sub></form><legend id='5oFGP'></legend><bdo id='5oFGP'><pre id='5oFGP'><center id='5oFGP'></center></pre></bdo></b><th id='5oFGP'></th></span></q></dt></tr></i><div id='5oFGP'><tfoot id='5oFGP'></tfoot><dl id='5oFGP'><fieldset id='5oFGP'></fieldset></dl></div>
                          <legend id='5oFGP'><style id='5oFGP'><dir id='5oFGP'><q id='5oFGP'></q></dir></style></legend>