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
326 views
in Technique[技术] by (71.8m points)

html - 标签空间而不是多个不间断的空格(“nbsp”)?(Tab space instead of multiple non-breaking spaces (“nbsp”)?)

Is it possible to insert a tab character in HTML instead of having to type  

(是否可以在HTML中插入制表符而不必键入 )

four times?

(四次?)

  ask by Roch translate from so

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

1 Answer

0 votes
by (71.8m points)

It depends on which character set you want to use.

(这取决于您要使用的字符集。)

There's no tab entity defined in ISO-8859-1 HTML - but there are a couple of whitespace characters other than  

(ISO-8859-1 HTML中没有定义标签实体 - 但除了 之外还有几个空白字符 )

such as  

(比如 )

,  

(,  )

,and  

(和 )

.

(。)

In ASCII, 	

(在ASCII中, 	)

is a tab.

(是一个标签。)

Here is a complete listing of HTML entities and a useful discussion of whitespace on Wikipedia .

(是HTML实体的完整列表,以及对维基百科上的空白的有用讨论 。)


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

...