輸入五個空格為什么會顯示一個呢,按理說輸入空格不起作用應(yīng)該一個都沒有的吧,不解
Why does one appear when entering five spaces? Logically speaking, if entering spaces does not work, there should be none, right? I don’t understand? -PHP Chinese website Q&A-Why does one appear when entering five spaces? Logically speaking, if entering spaces does not work, there should be none, right? I don’t understand? -PHP Chinese website Q&A
Please watch and learn.
這些要轉(zhuǎn)義的,比如在HTML中,回車是
<br>
,單個空格是有效的,但多個連在一起的空格只會識別成一個空格,要轉(zhuǎn)義成
才有效