久久久久久久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;標(biāo)簽/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;標(biāo)簽/&gt;在 HTML 中?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                限時(shí)送ChatGPT賬號(hào)..

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

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

                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ū)別嗎?

                推薦答案

                瀏覽器將無效標(biāo)記標(biāo)準(zhǔn)化為有效形式:

                Browsers normalize invalid markup into the valid form:

                <div/> 在技術(shù)上是無效標(biāo)記 (HTML 5),因?yàn)?div 不是自閉合標(biāo)簽.

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

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

                A browser will normalize it to <div>.

                請(qǐng)注意,這與 XML 處理自閉合標(biāo)簽和閉合標(biāo)簽的方式不同.

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

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

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

                <foo />
                

                封閉標(biāo)簽沒有子標(biāo)簽,也沒有內(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;標(biāo)簽/&gt;在 HTML 中?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(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 格式:大括號(hào)必須與 if/function/etc 關(guān)鍵字在同一行嗎?)
                jquery limit text by length(jquery按長(zhǎng)度限制文本)
                Is it possible to auto-format your code in Dreamweaver?(是否可以在 Dreamweaver 中自動(dòng)格式化您的代碼?)

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

                          主站蜘蛛池模板: 日本电影免费完整观看 | 久久精品综合 | 欧产日产国产精品99 | 亚洲毛片 | 久久99国产精品久久99果冻传媒 | 日韩精品一区在线 | 视频一区二区中文字幕 | 精品国产1区2区3区 在线国产视频 | 国产成人精品一区二区三区视频 | 蜜桃视频在线观看免费视频网站www | 免费看黄色国产 | 亚洲国产精品一区 | 国产精品视频久久久 | 国产成人高清在线观看 | 无码日韩精品一区二区免费 | 北条麻妃99精品青青久久主播 | 国产一区二区久久 | 欧美不卡在线 | 碰碰视频 | 黄篇网址 | 成人在线视频免费观看 | 欧美日韩一卡 | 亚洲国产精品一区二区久久 | 久久精品国产久精国产 | 亚洲伊人精品酒店 | 青青久视频 | 日韩精品一区二区三区高清免费 | 国产一区 日韩 | 欧美成人免费 | 超碰导航 | 国产精品一区二区精品 | 亚洲精品片 | 白浆在线 | 国产小视频在线 | 精品在线观看一区 | 日日夜夜视频 | 草久久| 久久久不卡网国产精品一区 | 婷婷精品 | 色偷偷噜噜噜亚洲男人 | 国产亚洲黄色片 |