8

I know, that i can insert it in 'pre' tag, but is there any other solution?

PS.

When I add it is printed as space.

  • 1
    You want to view the character (to see where it's used) in the document, or you want to *use* a tab character in the document (to line up content, or whatever)? – David Thomas Mar 10 '13 at 14:13
  • I would like to see tab sign in my page, but web browser changes it to space. – Michał Bożydar Pawłowski Mar 10 '13 at 14:15
  • There is no tab sign. The HORIZONTAL TAB character (which you apparently mean by ‘\t’) is a control character that may affect layout but has no visible glyph. So what exactly do you want? – Jukka K. Korpela Mar 10 '13 at 14:56

3 Answers3

6

Just use  
As the same affect of tab sign

Ahmed Nabil
  • 17,392
  • 11
  • 61
  • 88
5

Use & emsp; (without space, as html entity) to put a emphasized space... Similar to tab character &t

Ronnie
  • 512
  • 5
  • 12
4

1 &nbsp = 1 WhiteSpace Character

1 &ensp = 2 &nbsp (2 WhiteSpace Characters)

1 &emsp = 2 &ensp (4 WhiteSpace Characters or TAB)

Alex21c
  • 41
  • 1