久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <i id='vahCA'><tr id='vahCA'><dt id='vahCA'><q id='vahCA'><span id='vahCA'><b id='vahCA'><form id='vahCA'><ins id='vahCA'></ins><ul id='vahCA'></ul><sub id='vahCA'></sub></form><legend id='vahCA'></legend><bdo id='vahCA'><pre id='vahCA'><center id='vahCA'></center></pre></bdo></b><th id='vahCA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vahCA'><tfoot id='vahCA'></tfoot><dl id='vahCA'><fieldset id='vahCA'></fieldset></dl></div>

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

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

      <tfoot id='vahCA'></tfoot>
      • <bdo id='vahCA'></bdo><ul id='vahCA'></ul>

      &lt;tag&gt;&lt;/tag&gt; 有什么區(qū)別?和&a

      What#39;s the difference between lt;taggt;lt;/taggt; and lt;tag /gt; in HTML?(lt;taggt;lt;/taggt; 有什么區(qū)別?和lt;標簽/gt;在 HTML 中?)
        <bdo id='BOBUi'></bdo><ul id='BOBUi'></ul>

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

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

                本文介紹了&lt;tag&gt;&lt;/tag&gt; 有什么區(qū)別?和&lt;標簽/&gt;在 HTML 中?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                可能重復(fù):
                在普通標簽上使用 XHTML 右斜杠 (/)?
                自閉標簽在 HTML5 中有效嗎?

                我正在審查大量 HTML 代碼以及合成 HTML 的 JavaScript,我注意到如果標簽內(nèi)有一些沒有內(nèi)容的標簽,那么有兩種方法可以指定它.像這樣:

                I'm reviewing a lot of HTML code and also JavaScript that synthesizes HTML and I noted that if there's some tag without content inside the tag then there're two way to specify it. Either like this:

                <div id="container"></div>
                

                或者像這樣:

                <div id="container" />
                

                這兩者有區(qū)別嗎?

                推薦答案

                瀏覽器將無效標記標準化為有效形式:

                Browsers normalize invalid markup into the valid form:

                <div/> 在技術(shù)上是無效標記 (HTML 5),因為 div 不是自閉合標簽.

                <div /> is technically invalid markup (HTML 5), as div is not a self-closing tag.

                瀏覽器會將其規(guī)范化為 <div>.

                A browser will normalize it to <div>.

                請注意,這與 XML 處理自閉合標簽和閉合標簽的方式不同.

                Note that this is different from how XML will handle a self-closing tag compared to a closed tag.

                自閉合標簽沒有子標簽,也沒有內(nèi)部文本的值(null):

                A self-closing tag has no children and no value for inner text (null):

                <foo />
                

                封閉標簽沒有子標簽,也沒有內(nèi)部文本(空字符串):

                A closed tag has no children and no inner text (empty string):

                <foo></foo>
                

                這篇關(guān)于&lt;tag&gt;&lt;/tag&gt; 有什么區(qū)別?和&lt;標簽/&gt;在 HTML 中?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                Remove formatting from a contentEditable div(從 contentEditable div 中刪除格式)
                Formatting this JavaScript Line(格式化此 JavaScript 行)
                JavaScript formatting: must braces be on the same line as the if/function/etc keyword?(JavaScript 格式:大括號必須與 if/function/etc 關(guān)鍵字在同一行嗎?)
                jquery limit text by length(jquery按長度限制文本)
                Is it possible to auto-format your code in Dreamweaver?(是否可以在 Dreamweaver 中自動格式化您的代碼?)

                <small id='2MhR1'></small><noframes id='2MhR1'>

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

                          主站蜘蛛池模板: 国产一区二区三区在线视频 | 国内av在线 | 午夜精品在线观看 | 亚洲精品丝袜日韩 | 在线欧美 | 久久久视| 成人影院网站ww555久久精品 | 一本岛道一二三不卡区 | 网页av| 伊人网影院 | 国产精品久久一区二区三区 | 国产乱码精品一区二区三区忘忧草 | 欧美色视频免费 | 国产伦一区二区三区视频 | 日韩最新网站 | 欧美成年黄网站色视频 | 国产在线视频在线观看 | 午夜精品一区二区三区免费视频 | 99综合| 国产亚洲一区二区三区在线观看 | 久久精品亚洲国产奇米99 | 国产精品高潮呻吟久久av野狼 | 成人亚洲综合 | 亚洲一区视频 | 色就是色欧美 | 免费99视频 | 国内自拍偷拍 | 日韩av在线不卡 | 国产成人免费在线 | 成年网站在线观看 | 91av在线免费播放 | 欧美黑人国产人伦爽爽爽 | 狠狠av| 国产精品久久久久久模特 | 四虎永久在线精品免费一区二 | 久久人| 亚洲福利在线观看 | 成人国产在线视频 | 亚洲 欧美 日韩在线 | 日韩中文字幕一区二区 | 毛片视频网址 |