Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
218 views
in Technique[技术] by (71.8m points)

html - 如何使用HTML / CSS在文本中插入空格/制表符(How to insert spaces/tabs in text using HTML/CSS)

Possible ways:

(可能的方式:)

<pre> ... </pre>

or

(要么)

style="white-space:pre"

Anything else?

(还要别的吗?)

  ask by Yeseanul translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

To insert tab space between two words/sentences I usually use

(我通常会在两个单词/句子之间插入tab space)

&emsp; and &ensp;

(和&ensp;)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...