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/20060728194231AAamQHm">can you help me with some pc problems?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060806161020AAypgek">how to shut down a socket connection between a client and a server?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060730152436AAN7Rcb">How can I record my DVDs onto the computer so I can work on it on MovieMaker?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060819031608AAjsSre">how to change the color of an image?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060809175402AA7HxF7">Is programming a possible career without majoring or minoring in math at the undergraduate level?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060802142057AAjn8Dp">Onchange command in Javascript?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060809130917AAX9GdQ">how do you allow tags to be saved in MYSQL?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060816092204AAkctOz">Javascript: new Array?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060804075126AAwuvwe">where to learn oracle?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060819125032AAsd8EC">What's your preferred blog page  and why?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060818214751AAls6TJ">Visual Basic Code Help?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060730075102AA39pE9">In what year was Voice Mail technology developed in Israel?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060816194810AA2eOTe">how to write query to  count number of night between arrival date and departure date?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060805205029AA8EMRv">Can I create an executable file to perform a keyboard command?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060730015411AAYcsBp">Web Site Designers, Graphics Artists?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060812163310AA2RoXp">Creating Files In C++?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060801152221AA0PpmB">Can I buy a Restoration Disk?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060730080930AAc7e3E">Difference btwn: Web Designer, Web Developer, Web Programmer?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060809221852AAygVrk">myspace layout problem!?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060730115956AAMV5tb">Does any one know another download center besides limewire,and bearshare?</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>