Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
143
rated 0 times [  146] [ 3]  / answers: 1 / hits: 28036  / 12 Years ago, sat, january 12, 2013, 12:00:00

I want to use a tab space in my string. I am providing the code of using new line. But I don't know how to use a tab space in a string. Can anyone help me on this !?



Warning ! Sorry Cash Pay is less than this  <br/> month's installment. Please pay the  <br/> right amount.

More From » html

 Answers
4

&#09; is TAB character in ASCII. But according to html spec all white space characters will be stripped to a single character. There are other white space characters too. Like &thinsp;, &emsp; and &ensp; You can try them too.


Update


It seems &emsp; gives a spacing of tab size. See the following



  • a&emsp;b rendered as a b

  • a&ensp;b rendered as a b

  • a&thinsp;b rendered as a b

  • a&nbsp;b rendered as a b

  • a&#09;b rendered as a b


[#80922] Friday, January 11, 2013, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sergiobrayanc

Total Points: 162
Total Questions: 97
Total Answers: 94

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;