leeand00
leeand00

Reputation: 26392

Tab Character Entity for XHTML?

Does anyone know what the character entity for a tab is in xhtml? (Um if there is one)...

Upvotes: 8

Views: 18838

Answers (3)

James Curran
James Curran

Reputation: 103515

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

Upvotes: -1

Konrad Rudolph
Konrad Rudolph

Reputation: 545598

(X)HTML has no special support for tabs: they're just another whitespace character, regardless of whether you escape them or not.

Upvotes: 5

mipadi
mipadi

Reputation: 410672

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.

Upvotes: 7

Related Questions