Home » questions » How to insert a tab with HTML code?

How to insert a tab with HTML code?

2006-08-14 09:58:54, Category: Programming & Design
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 letter and it would be only l bold, or the whole word letter

Answers

  1. ce

    On 2006-08-14 10:33:57


    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:

    this is a paragraph

    Or you could use
    which will indent the surrounded text. The only negative of block quote is that it will also indent the right side.
  2. ghostpirate7

    On 2006-08-14 10:02:56


     or  or tags or even  .</div>
               </li>
                                    <li class="alt" id="comment-174094">
                <div class="singlecomment">
                <div class="float-left">
                 <p class="comment-author">The Curate's Egg</p>
                 <p class="comment-small">On 2006-08-14 10:11:02</p>
            </div>
            <br class="clear" />
                </div>
                <div class='commenttext'>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.</div>
               </li>
                                    <li class="standard" id="comment-174092">
                <div class="singlecomment">
                <div class="float-left">
                 <p class="comment-author">sonalfemme</p>
                 <p class="comment-small">On 2006-08-14 10:01:51</p>
            </div>
            <br class="clear" />
                </div>
                <div class='commenttext'>Try the escape character \t</div>
               </li>
                                  </ol>
                
                      
         </div>
          
       
    
      
    </div> <!-- end #post -->
    
    </div><!-- end #main-col -->
    
          
    
    <div id="sidebar-col">
      <div id="sidebar-widgets">
        <!-- YB: sidebar (300x250) -->
        <script type="text/javascript"><!--
        yieldbuild_site = 2588;
        yieldbuild_loc = "sidebar";
        //--></script>
        <script type="text/javascript" src="http://hook.yieldbuild.com/s_ad.js"></script>
      </div>
    
      <div id="sidebar-widgets">
        <h2 class="sidebar-title">Browse Questions</h2>
        <ul>
                <li><a href="http://qa.techinterviews.com/q/20060807101913AA7qO4t">C Program Project?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060804131454AAXkWOO">Some kind of problem with dreamweaver 8?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060812213625AA6ZzAG">How do I get volume and internet to work on an older HP keyboard?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060810030149AAV8ygi">i have a problem with java please help!!!!!!!?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060817201243AACdVRJ">Best way to design a time line?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811214842AAHAeqw">why is there a box with a red x in it and won't show the picture when i try to leave a comment on my</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060816193243AA7L2JZ">Do I need a disc to re-format and will it get rid of a hacker if I do?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060808092552AA9cffX">Where can you....?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060810233854AASxbvG">mac website design program???</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060818113015AA1NHz0">Anyone know how to put music and graphics on myspace page?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060815234648AAENxvG">طريقة تركيب سكربت oscommerce?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060801215520AA5lpKq">Will a linux work on a p2 350mhz compaq?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811035206AArrDtl">how to retrieve an image from the database and store it in webserver so that i can display in a web</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060802103141AAPuApq">Would you call this "Cybersquatting"?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060819062516AAsiT0J">SQL-plus database?????</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060808134709AAez1Pl">i recently purchased a computer with cyberlink power dvd and i dont have a cd-key and i have know wa</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060810133548AAWDYav">What do I need to learn to have a database update automatically from my site into a database program</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060810194320AAuOEQk">How do you make a heart with the keyboard..like how do you type one?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060807170939AA3nt9a">how do you learn visual basic programming?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060805150729AAjlimG">How do you do Div. Layouts and Layovers for Myspace?</a></li>
              </ul>
      </div>
    
    </div><!-- end #sidebar -->
    
    <div class="clear"></div>
    <div class="content-cap-bottom"></div>
    
    </div><!-- end #container -->
    <div id="footer-container">
      <div class="content-cap-top"></div>
    
      <div class="footer-widget">
      <ul>
            <li><a href="http://qa.techinterviews.com/questions/search/html">HTML</a></li>
            <li><a href="http://qa.techinterviews.com/questions/search/javascript">JavaScript</a></li>
            <li><a href="http://qa.techinterviews.com/questions/search/windows">Windows</a></li>
            <li><a href="http://qa.techinterviews.com/questions/search/linux">Linux</a></li>
            <li><a href="http://qa.techinterviews.com/questions/search/java">Java</a></li>
            <li><a href="http://qa.techinterviews.com/questions/search/mysql">MySql</a></li>
      </ul>
      <br class="clear" />
      </div>
    
    
      <div class="footer-widget">
      <ul>
        <li><a href="/c-sharp-interview-questions-and-answers" title="C# Job Interview Questions and Answers">C# Interview Questions and Answers</a></li> 
        <li><a href="/qtp-interview-questions-and-answers" title="QTP Job Interview Questions and Answers">QTP Interview Questions and Answers</a></li> 
        <li><a href="/c-plus-plus-interview-questions-and-answers" title="C++ Job Interview Questions and Answers">C++ Interview Questions and Answers</a></li>
        <li><a href="/php-interview-questions-and-answers" title="PHP Job Interview Questions and Answers">PHP Interview Questions and Answers</a></li>
        <li><a href="/xml-interview-questions-and-answers" title="XML Job Interview Questions and Answers">XML Interview Questions and Answers</a></li>
      </ul>
      </div>
    
    
      <div class="footer-widget-right">
        <ul>
        <li>
          <p>Copyright Curiosity Media, Inc | All Rights Reserved</p>
         </li>
        </ul>
      </div>
    
    
      <br class="clear" />
      <div class="content-cap-bottom"></div>
    </div>
    
    </div><!-- end #wrapper -->
    
    </body>
    </html>