QA.TechInterviews.com - your tech questions answered
How To Insert A Tab With HTML Code?
How can i insert a tab with HTML code?
I think more details are needed...HTML code only, not printing, nothing but reading the website is what this is needed for.

Am I able to type in < > with a letter between the <> to create a tab? Nothing else. Can anyone tell me the letters or symbols that go in between <> ? Thanks much.
For instance, to bold a letter <b>l</b>etter and it would be only l bold, or the whole word <b>letter</b>
You can insert any printing or non-printing character above the value of 32 by using &# and the ASCII code in decimal after it. Since the code for a tab character is 09, it is less than 32 and therefore not supported.

It is probably better and more flexible to use a table to format your text.
If you just want the first line of a paragraph to be indented you could just add several non-breaking spaces to the beginning of your line. The advantage of this is that the first line would be This is the code for a non-breaking space:

(yahoo answers keeps deleting the code for my space, so take out the spaces in these symbols:)

& n b s p ;

If you are trying to get a whole section of code to indent, you could again use a CSS style that added left-margin space to your paragraph. For example, here is an HTML document with a paragraph indented to the right by 15 pixels:

<html>
<head>
<style type="text/css">
<!--
p {
margin-left: 15px;
}
-->
</style>
</head>

<body>
<p>this is a paragraph</p>
</body>
</html>

Or you could use <blockquote></blockquote> which will indent the surrounded text. The only negative of block quote is that it will also indent the right side.
<PRE> or <XMP> or tags or even  .
You can insert any printing or non-printing character above the value of 32 by using &# and the ASCII code in decimal after it. Since the code for a tab character is 09, it is less than 32 and therefore not supported.

It is probably better and more flexible to use a table to format your text.
Try the escape character \t

Back to QA. TechInterviews.com. Powered by Yahoo! Answers and TechInterviews.com community.