1. Computing

Discuss in my forum

Readers Respond: How Do You Use Tabs in Web Pages?

Responses: 5

By , About.com Guide

From the article: Tabs in HTML
Whitespace characters like tabs can be hard to use in Web pages because the browsers collapse them by default. What situations do you need to use tabs, and have to settle for the non-breaking space or other whitespace techniques? Give Examples

Simpler use of nbsp

For an occasional use of "tabs", it is more efficient to intersperse the   with actual spaces, rather than a series of . For example if you use (space) (space) (space) you get 5 spaces for with just 2 nbsp.
—Guest Steve

CSS for whitespace

I use CSS to indent the first line of all paragraphs and for white space in general.
—normoose

how to use tab in webpage

I like to indent my paragraphs one tab, and I want to do this on my Web pages as well. I'm glad I learned how to do it with CSS, as it was annoying it wouldn't work with the tab key.
—Guest atul

Still Prefer CSS

There are times a nbsp is needed, phone-numbers, anything you want to stay glued regardless of space, things like that. For paragraphs indentation though, this is not the answer at all. If you're inserting paragraphs into a page then the p tag should be used. You can then use the text-indent property to space it. You can even use CSS selectors to indent only the paragraphs directly following the the first paragraph using p + p.
—Guest Michael

paragraphs

I like to indent my paragraphs one tab, and I want to do this on my Web pages as well. I'm glad I learned how to do it with CSS, as it was annoying it wouldn't work with the tab key.
—Guest Maos

Give Examples

How Do You Use Tabs in Web Pages?

Receive a one-time notification when your response is published.

©2013 About.com. All rights reserved.