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

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

    1. <legend id='PTpWd'><style id='PTpWd'><dir id='PTpWd'><q id='PTpWd'></q></dir></style></legend>

      1. 元素开始标签内的 HTML 注释

        HTML Comments inside Opening Tag of the Element(元素开始标签内的 HTML 注释)

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

          • <bdo id='sFzkx'></bdo><ul id='sFzkx'></ul>

            <tfoot id='sFzkx'></tfoot>

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

                  本文介绍了元素开始标签内的 HTML 注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我尝试这个时

                  <option disabled = "disabled" <!-- Used to disable any particular option -->
                          selected = "selected" <!-- Used to pre-select any particular option -->
                          label = "string"      <!-- Used to provide a short version of the content in the option --> 
                          value = "value">      <!-- The actual value that will be send to the server. If omitted the content between the option opening and closing tags will be send. -->
                  
                  Option 1
                  </option>
                  

                  我试图在元素的开始标签内注释属性和值.但是,这不起作用,因为浏览器(在 IE9、FF4.01、GG11、AF5 和 Opera11 上测试)将 disabled="disabled" 之后的所有内容视为评论或内容.

                  I am trying to comment the attributes and values inside the openning tag of the element. However this does not work as browsers (tested on IE9, FF4.01, GG11, AF5 and Opera11) treat everything followed after the disabled="disabled" as either comment or content.

                  HTMl Comments 是否不允许在元素的开始标签内?

                  Are HTMl Comments not allowed inside the opening tag of elements?

                  推荐答案

                  HTML 注释根本不允许在 inside 标签内,无论是开始还是结束.

                  HTML comments are not allowed inside tags, start or end, at all.

                  这篇关于元素开始标签内的 HTML 注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  quot;Status Code:200 OK (from ServiceWorker)quot; in Chrome Network DevTools?(“状态码:200 OK(来自 ServiceWorker)在 Chrome 网络开发工具中?)
                  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 发送电子邮件吗)
                  Select All the objects on canvas using Fabric.js(使用 Fabric.js 选择画布上的所有对象)
                  Crop the image using JavaScript(使用 JavaScript 裁剪图像)
                      <bdo id='OBiym'></bdo><ul id='OBiym'></ul>
                            <tbody id='OBiym'></tbody>
                          <legend id='OBiym'><style id='OBiym'><dir id='OBiym'><q id='OBiym'></q></dir></style></legend>

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

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