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

I need to insert a simple tab, nothing else. I do not need a long HTML string. Is there something that exists where I can use it like a bold letter but what I really want is to insert 4 spaces. Nothing more, nothing less. It is for a column.

2006-08-14 07:57:53 · 5 answers · asked by hondacivicex92 1 in Computers & Internet Programming & Design

5 answers

There is no tab in HTML. Try:

&+nbsp; &+nbsp;

(except remove the "+" character. I had to insert it or this page would have automatically turned it into a blank space.) This inserts blank spaces for you.

You cannot use two blank spaces because HTML automatically ignores those. You must alternate &+nbsp; and a blank space. (Again, remove the "+" symbol.)

If you are familiar with CSS (cascading style sheets) then you can also adjust the left margin for indenting.

2006-08-14 08:01:11 · answer #1 · answered by Plasmapuppy 7 · 0 1

There is a way to do a tab using stylesheets:

yada......



Don't use & nbsp;, this will just pad your HTML with a lot of unnecessary characters. Using margin:5px will indent your entire paragraph by 5 px and change the margins, which is not what you want.

2006-08-14 08:09:46 · answer #2 · answered by John J 6 · 0 0

in case you will desire to indent, use CSS padding or margin. you will have an interest with the :first-line pseudo component in case you purely decide to indent the 1st line. notwithstanding, you ought to use countless   there is not any genuine tabs in HTML.

2016-10-02 01:54:46 · answer #3 · answered by balsamo 4 · 0 0

There is no equivlent of a tab in html.
You can do css like so:

indented text


This also wotrks in div, td and other tags.

2006-08-14 08:02:52 · answer #4 · answered by sheeple_rancher 5 · 0 1

for every space you must use "&" folowed by "nbsp;" i cannot use it here as yahoo replace it

2006-08-14 08:02:01 · answer #5 · answered by easycoder_biz 3 · 0 1

fedest.com, questions and answers