Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert a Tab

Status
Not open for further replies.

seashore67

Technical User
May 27, 2003
51
US
Is it possible to insert a tab into text in html???

Thanks,
Andrew
 
I would say no. As part of the not recognizing white space, HTML has nothing to work as a tab character. In the days before, there was a tag for tabs, but never really picked up. Can you explain in detail what you want to do?
 
I wanted to make columns without setting up a table I guess. But its probably simpler just to set up a table correct?

Thanks for your help.
 
seashore67 said:
I wanted to make columns without setting up a table I guess. But its probably simpler just to set up a table correct?
If you're lining up columns because you want to represent tabular data, then a table would be the semantically correct code.

You can always use CSS to style the table's appearance.

It is possible to line up columns using spaces: the <pre> tag defines preformatted text and won't collapse multiple spaces (I've never tried using a tab character in HTML, so I can't say how that would work).

---
Marcus
better questions get better answers - faq581-3339
accessible web design - zioncore.com
 
I think I will just use a table. Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top