AskDefine | Define indentation

Dictionary Definition



1 a concave cut into a surface or edge (as in a coastline) [syn: indenture]
2 the formation of small pits in a surface as a consequence of corrosion [syn: pitting, roughness]
3 the space left between the margin and the start of an indented line [syn: indent, indenture]
4 the act of cutting into an edge with toothlike notches or angular incisions

User Contributed Dictionary




  1. The act of indenting or state of being indented.
  2. A notch or recess, in the margin or border of anything; as, the indentations of a leaf, of the coast, etc.
  3. A recess or sharp depression in any surface.
  4. The act of beginning a line or series of lines at a little distance within the flush line of the column or page, as in the common way of beginning the first line of a paragraph.
  5. The measure of the distance; as, an indentation of one em, or of two ems.

Extensive Definition


An indentation can mean two things:
  • To make notches in something or form deep recesses in a coastline for instance.
  • To place text farther to the right to separate it from surrounding text.
The first meaning is also applied in hardness measurement as in indentation hardness.
For an example of the second meaning, this is an indentation of one non-breaking space:
 Indented block
and this is an indentation of two non-breaking spaces:
  Indented block 2
In the written form of many languages, an indentation is often used at the beginning of a line to signal the start of a new paragraph.
Outdentation is a neologism used in computer circles to describe placing text back to the left again.
Some languages (e.g. Hebrew, Arabic) are written right-to-left, and if indentation is used, in the above "left" and "right" should of course be swapped when referring to such languages.

Indentation in typesetting

There are two main types of first-line indent: normal and hanging. A "normal" indent indents the first line, as shown here, an indent of one centimetre: The other kind, a hanging indent, indents the rest of the text while leaving the first line in place; as shown here with a hanging indent of one centimetre:

Indentation in programming

Main article: Indent style
In computer programming languages, indentation is used to format program source code in order to improve its readability. Indentation is generally only of use to programmers; compilers and interpreters rarely care how much whitespace is present in between programming statements. However, certain programming languages rely on the use of indentation in order to demarcate programming structure, often using a variation of the Off-side rule. The Haskell, Occam, and Python programming languages rely on indentation in this way.
Debates over where to indent, whether to use spaces or tabs, and how many spaces to use are often hotly debated among programmers, leading some to classify indentation as a religious war. Different indentation styles are commonly used. In 2006 a third method of indentation was proposed, called elastic tabstops.
indentation in German: Einzug_%28Typografie%29
indentation in Spanish: Sangría (tipografía)
indentation in French: Indentation
indentation in Italian: Indentazione
indentation in Hebrew: הזחה
indentation in Japanese: 字下げ
indentation in Portuguese: Indentação

Synonyms, Antonyms and Related Words

Privacy Policy, About Us, Terms and Conditions, Contact Us
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
Material from Wikipedia, Wiktionary, Dict
Valid HTML 4.01 Strict, Valid CSS Level 2.1