Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道,我可以将它插入到“pre”标签中,但是还有其他解决方案吗?
PS。
当我添加它时,它会打印为空格。
使用 & emsp; (没有空格,作为 html 实体)放置一个强调的空格...类似于制表符 &t
只需使用  As 相同的tab标志效果
 
tab
1 = 1 空白字符
1 &ensp = 2 (2 个空白字符)
1 &emsp = 2 &ensp(4 个空白字符或TAB)