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

      • <bdo id='4hehs'></bdo><ul id='4hehs'></ul>
      <tfoot id='4hehs'></tfoot>

      <small id='4hehs'></small><noframes id='4hehs'>

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

        為什么 HTML 要求多個(gè)空格在瀏覽器中顯示為單個(gè)

        Why does HTML require that multiple spaces show up as a single space in the browser?(為什么 HTML 要求多個(gè)空格在瀏覽器中顯示為單個(gè)空格?)
            <legend id='VlsDB'><style id='VlsDB'><dir id='VlsDB'><q id='VlsDB'></q></dir></style></legend>

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

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

                1. 本文介紹了為什么 HTML 要求多個(gè)空格在瀏覽器中顯示為單個(gè)空格?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

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

                  我早就認(rèn)識(shí)到 HTML 文件中的任何一組空格都只會(huì)顯示為一個(gè)空格.例如,這個(gè):

                  I have long recognized that any set of whitespace in an HTML file will only be displayed as a single space. For instance, this:

                  <p>Hello.        Hello. Hello. Hello.                       Hello.</p>
                  

                  顯示為:

                  你好.你好.你好.你好.你好.

                  Hello. Hello. Hello. Hello. Hello.

                  這很好,好像您需要多個(gè)預(yù)先格式化的文本空格,您可以使用 <pre>標(biāo)簽.但原因是什么?更準(zhǔn)確地說(shuō),為什么在 HTML 規(guī)范中會(huì)出現(xiàn)這種情況?

                  This is perfectly fine, as if you need multiple spaces of pre-formatted text you can just use the <pre> tag. But what is the reason? More precisely, why is this in the specification for HTML?

                  推薦答案

                  HTML 中的空格是壓縮的,因?yàn)?HTML 的格式化方式和呈現(xiàn)方式之間存在區(qū)別.考慮這樣一個(gè)頁(yè)面:

                  Spaces are compacted in HTML because there's a distinction between how HTML is formatted and how it should be rendered. Consider a page like this:

                  <html>
                      <body>
                          <a href="mylink">A link</a>
                      </body>
                  </html>
                  

                  例如,如果 HTML 使用空格縮進(jìn),則鏈接前面會(huì)帶有多個(gè)空格.

                  If the HTML was indented using spaces for example, the link would be preceded by several spaces.

                  這篇關(guān)于為什么 HTML 要求多個(gè)空格在瀏覽器中顯示為單個(gè)空格?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(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)鍵字在同一行嗎?)
                  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 中?)
                  jquery limit text by length(jquery按長(zhǎng)度限制文本)
                2. <legend id='eEhMw'><style id='eEhMw'><dir id='eEhMw'><q id='eEhMw'></q></dir></style></legend>

                  • <small id='eEhMw'></small><noframes id='eEhMw'>

                  • <tfoot id='eEhMw'></tfoot>

                        <i id='eEhMw'><tr id='eEhMw'><dt id='eEhMw'><q id='eEhMw'><span id='eEhMw'><b id='eEhMw'><form id='eEhMw'><ins id='eEhMw'></ins><ul id='eEhMw'></ul><sub id='eEhMw'></sub></form><legend id='eEhMw'></legend><bdo id='eEhMw'><pre id='eEhMw'><center id='eEhMw'></center></pre></bdo></b><th id='eEhMw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='eEhMw'><tfoot id='eEhMw'></tfoot><dl id='eEhMw'><fieldset id='eEhMw'></fieldset></dl></div>
                          <tbody id='eEhMw'></tbody>
                          <bdo id='eEhMw'></bdo><ul id='eEhMw'></ul>
                            主站蜘蛛池模板: 国产一区精品在线 | 中文字幕欧美一区二区 | 韩日在线视频 | 精品成人一区二区 | 97狠狠干 | 亚洲一区二区三区四区五区午夜 | 亚洲国产精品一区 | 国产精彩视频在线观看 | 免费中文字幕日韩欧美 | 91视频.| www.四虎.com| 久久免费大片 | www.国产日本 | 久久久久久美女 | 国产999精品久久久久久 | 国产成人jvid在线播放 | 免费看欧美一级片 | 午夜成人免费视频 | 一区二区久久 | 亚洲精品久久久一区二区三区 | 精品国产91亚洲一区二区三区www | 日韩国产高清在线观看 | 久久久久久综合 | 91精品久久久| www.4hu影院| 中文字幕一区在线观看视频 | 亚洲精品一区二区网址 | 极品的亚洲 | 久久97精品 | 久久88 | 日韩免费网站 | 久久久久久国产 | 97超碰站 | 亚洲综合区 | 国产亚洲一区二区三区在线观看 | 欧美日韩精品 | 亚洲一区亚洲二区 | 黄色毛片网站在线观看 | 日韩有码一区 | 色成人免费网站 | 亚洲一区二区国产 |