8 March 2011

How to use tab character in HTML

What is code for tab character ?
It is no HTML tab tag.

but... don't give up!

So what can you do ?
It is few ways to go around with these issue.
I will describe 2 most common ways and in the end i give 2 links to website where you have more crazy possibilities.

If you need tab once (up to few times on website) then use
     (standard tab has usually 4 space equivalent )

If you planning using tab quite often ,then is better to  create css property as <p> or <span>
for
p.withTab {
 margin-left: 4em;
}

span.withTab {
 margin-left: 4em;
}

below you have 2 websites where you have more ways to implement tab in html
http://htmltab.kb-creative.net/
http://webdesign.about.com/od/intermediatetutorials/qt/tiphtmltab.htm