Does anyone know what the character entity for a tab is in xhtml? (Um if there is one)...
A:
Try 	
. The TAB is ASCII character #9.
But it may not show up as you'd expect, anyway, since HTML ignores whitespace in most instances.
mipadi
2008-10-21 15:57:39
+3
A:
(X)HTML has no special support for tabs: they're just another whitespace character, regardless of whether you escape them or not.
Konrad Rudolph
2008-10-21 15:58:13
Indeed. There are, however, some cases where a raw tab in an attribute value will be parsed away to nothing, whereas a character reference will survive into attribute.nodeValue.
bobince
2008-10-21 16:30:29
They can be used in `<textarea>` tags, for spacing.
mipadi
2008-10-21 17:09:58
A:
What most people do to simulate tabs is use DD & DT tags. They are intended creating a glossary:
term
definition goes here
term
definition goes here
James Curran
2008-10-21 16:00:14