<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 元标记

        时间:2023-08-01
        <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 元标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:HTTP 标头对浏览器来说是否太大? 下一篇:HTTP 304 Not Modified-responses 是否应该包含缓存控制标头?

                  相关文章

                    <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>