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/20060801213431AAnuQNd">How to build a social community website - and what people are really looking for? can you list the f</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811104341AAfYKyD">what features and capacities should I look for when purchasing a web server?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060802091249AAzp2yT">Searching table for field that contains string?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060805004820AAaDuTw">Online Image Morphing?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060814180642AARW9BR">How do I set up a web page to find some old friend's?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811100443AAfx0Fi">Visual Basic .NET?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060818221825AAcp5Wi">Can i receipt new data(Updated) in webpage(PHP).?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060818111137AA94aQ9">how can i get my computer back!?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811005758AAfuUms">How to calculate the dearness and house rent allowance of salary in C programming.?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060815121322AAb1QYb">what's the difference between Raster and Vector graphics?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811204246AA5HkWU">Why the same web page paste to word and notepad has the different behavior. I maen that to paste int</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060807124634AAEGpRd">how can I get around internet filters? i want to check my e-mail and my space while at work?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060814092112AABUduf">How do you take a song off of a CD and turn it into a file that can be used anywhere?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060806003312AAJiwtz">What is the HTML code to have the browser window re-size  when someone visit my page?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060808233828AAtxZET">Is Java 1.1 out of date?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060817214450AAeaBC1">Changing languages?</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/20060803163838AAG01bA">how do I sort an array in java without using the predefined methods?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060811091419AAh8yLI">Question for web developers or people who know about creating websites?</a></li>
                <li><a href="http://qa.techinterviews.com/q/20060819000149AAxqieY">Does anyone know of a good, free, c IDE for windows that can work with multiple toolchains?</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>