English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do you tab text in html form? Or how do you add spaces in between text in html form? Thanks

2007-01-11 06:50:29 · 5 answers · asked by bsdc2006 1 in Computers & Internet Programming & Design

5 answers

There are two ways to tab text in HTML. One uses HTML entities and the other uses CSS2.

& nbsp; & nbsp; & nbsp;

, without the space between '&' and 'n', will create an indent of three spaces. You can also use the CSS2 property "text-indent".

Indented Text


http://msdn2.microsoft.com/en-us/library/ms531171.aspx

To add spaces in between text, use the HTML entities mentioned above or use the CSS1 property "letterspacing".

Indented Text


http://msdn2.microsoft.com/en-us/library/ms530780.aspx

2007-01-11 08:34:22 · answer #1 · answered by Kookiemon 6 · 0 0

Similar to the others... more info on the  & nbsp;  
I ususally use  & nbsp;   because it is easy.

This is a very simple way to do it. The only downside is: it only moves everything over one space. You can get around this by copying and pasting it over and over again.

I also like to use the horizontal tab ( & #09 ) I use that when I want 2 or more indents.

If I just want an indent at the top of a paragraph, i use the

tag.

***Please note that there are not spaces between the ampersand ( & ) and the number of code after it. The only way to show it is by putting it a space in. Yahoo interprets it as literal HTML code.

2007-01-12 02:45:09 · answer #2 · answered by mark p 2 · 0 0

To display things in tabular format, use an HTML table tag.

To simply add a space, use the non breaking space (written as ' ').

2007-01-11 07:03:16 · answer #3 · answered by ahluwalia5 1 · 0 0

You can put tab characters in your HTML directly if you use what’s called “preformatted” text.In HTML, surround text that you want “preformatted” in a pair of “

” and “
” start and end tags. Any spacing characters you put between those tags (including tab characters) will show up just as you entered them.

2007-01-11 06:59:40 · answer #4 · answered by zelta_taliesin 2 · 0 1

If you mean
then

If you mean how to tab through forms then->

Tabbing Through Forms

You can enable your visitors to tab through your form fields simply by adding "tabindex" to your INPUT tags.








Try this link it might help ya!
http://www.web-source.net/html_forms3.htm

2007-01-11 07:00:10 · answer #5 · answered by Mijoecha 3 · 0 0

fedest.com, questions and answers