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

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

      HTML id 属性中的冒号是什么意思?

      What does a colon mean within an HTML id attribute?(HTML id 属性中的冒号是什么意思?)

          <small id='xDcEC'></small><noframes id='xDcEC'>

            <tbody id='xDcEC'></tbody>

        1. <tfoot id='xDcEC'></tfoot>

              <bdo id='xDcEC'></bdo><ul id='xDcEC'></ul>

            • <legend id='xDcEC'><style id='xDcEC'><dir id='xDcEC'><q id='xDcEC'></q></dir></style></legend>
              <i id='xDcEC'><tr id='xDcEC'><dt id='xDcEC'><q id='xDcEC'><span id='xDcEC'><b id='xDcEC'><form id='xDcEC'><ins id='xDcEC'></ins><ul id='xDcEC'></ul><sub id='xDcEC'></sub></form><legend id='xDcEC'></legend><bdo id='xDcEC'><pre id='xDcEC'><center id='xDcEC'></center></pre></bdo></b><th id='xDcEC'></th></span></q></dt></tr></i><div id='xDcEC'><tfoot id='xDcEC'></tfoot><dl id='xDcEC'><fieldset id='xDcEC'></fieldset></dl></div>
                本文介绍了HTML id 属性中的冒号是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已经看到了这样一个用于 ID 属性的 HTML 代码:

                I have seen an HTML code like this for the ID attribute:

                id="t1:c3"
                

                谁能给我解释一下?冒号 (:) 的用途是什么?

                Can someone explain this to me? What is the purpose of the colon (:)?

                谢谢.

                推荐答案

                ID 属性中允许使用冒号,但没有特殊意义.不建议使用它们,因为它们有时会导致问题,例如与 jQuery 或 CSS 一起使用时,冒号作为伪选择器具有特殊含义.

                Colons are allowed inside ID attributes, but hold no special significance. It's not really advisable to use them because they can sometimes cause problems, such as when used with jQuery or CSS, where the colon has special meaning as a pseudo-selector.

                这篇关于HTML id 属性中的冒号是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                Embed YouTube video - Refused to display in a frame because it set #39;X-Frame-Options#39; to #39;SAMEORIGIN#39;(嵌入 YouTube 视频 - 拒绝显示在框架中,因为它将“X-Frame-Options设置为“SAMEORIGIN)
                Stop embedded youtube iframe?(停止嵌入 youtube iframe?)
                YouTube iframe API: how do I control an iframe player that#39;s already in the HTML?(YouTube iframe API:如何控制 HTML 中已有的 iframe 播放器?)
                Switch/toggle div (jQuery)(切换/切换 div (jQuery))
                Apply jquery (mobile) css classes programatically after rendering has occurred(呈现后以编程方式应用 jquery (mobile) css 类)
                How to avoid name clashes in JavaScript widgets(如何避免 JavaScript 小部件中的名称冲突)
              1. <i id='taLLa'><tr id='taLLa'><dt id='taLLa'><q id='taLLa'><span id='taLLa'><b id='taLLa'><form id='taLLa'><ins id='taLLa'></ins><ul id='taLLa'></ul><sub id='taLLa'></sub></form><legend id='taLLa'></legend><bdo id='taLLa'><pre id='taLLa'><center id='taLLa'></center></pre></bdo></b><th id='taLLa'></th></span></q></dt></tr></i><div id='taLLa'><tfoot id='taLLa'></tfoot><dl id='taLLa'><fieldset id='taLLa'></fieldset></dl></div>
              2. <small id='taLLa'></small><noframes id='taLLa'>

                  <tfoot id='taLLa'></tfoot>

                    <tbody id='taLLa'></tbody>
                        <bdo id='taLLa'></bdo><ul id='taLLa'></ul>

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