djp1988 Posted February 20, 2008 Share Posted February 20, 2008 I say in my HTML book that you can get TAB spaces if you use this code: & # 009; But it doesn't work, the book also says that number codes can be interpreted differently according to browsers which is why there are the equivilants in letters: & # 034; = " So any ideas on how i can get a Tab space out of HTML code?PS: i added spaces to the &...... cos otherwise they didn't show :s Link to comment Share on other sites More sharing options...
justsomeguy Posted February 20, 2008 Share Posted February 20, 2008 9 is the correct ASCII code for a tab, that is how you display a tab character. But keep in mind that HTML ignores whitespace, so unless you are using a fixed-width font or preformatted text, the browser will still show the tab as a singe space, like any other whitespace. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.