657 B
657 B
title | localeTitle |
---|---|
Use Tab Space Instead of Multiple Non Breaking Spaces Nbsp | 使用制表符空格而不是多个非打破空格 |
使用制表符空格而不是多个非打破空格
在HTML中,添加多个空格的最常用方法是添加
为每个空间。要添加标签空间,请将文本放在<pre>
标签中,例如<pre>My Text Here</pre>
,每个标签将被视为八个空格。在HTML中添加多个空格的另一种方法是使用CSS,例如<p style="padding-right: 5px;">My Text Here</p>
。