Tab Character Entity for XHTML?
-
03-07-2019 - |
Question
Does anyone know what the character entity for a tab is in xhtml? (Um if there is one)...
Solution
(X)HTML has no special support for tabs: they're just another whitespace character, regardless of whether you escape them or not.
OTHER TIPS
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.
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow