1. Home
  2. Computing & Technology
  3. Web Design / HTML

How do I indent a lot of text?

By Jennifer Kyrnin, About.com

Question: How do I indent a lot of text?

Answer:

Indenting large chunks of text can be done in two different ways:

  1. Using Cascading Style Sheets
    CSS allows you to set all paragraphs on a page, or just specific ones to be indented the exact amount of space you would like. Here's how to indent every paragraph on the page 10 pixels (put this in the <head> of your HTML document):
    <style>
    <!--
      p {     margin-left : 10px;
      }
    -->
    </style>
  2. Using the <blockquote></blockquote> tag
    In most browsers, this tag indents elements within it on both sides of the browser window.
    This technique has been deprectated in favor of style sheets.

More about CSS margin Property
More about <blockquote></blockquote>
Help with Cascading Style Sheets

More Web Design / HTML Q&A

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. FAQs
  6. How do I indent a lot of text?

©2008 About.com, a part of The New York Times Company.

All rights reserved.