![]() |
|
|
| |
|
||||
A space is a punctuation convention for providing interword separation in some scripts, including the Latin, Cyrillic, and Arabic. Not all languages use spaces between words; the ancient Latin and Greek did not. Spaces were not used to separate words until roughly 600–800 AD. (See interword separation for more on the history.) Traditionally, all CJK languages have no space: modern Chinese and Japanese still do not, but modern Korean uses space. Spaces and computersIn programming language syntax, spaces are frequently used to explicitly separate tokens. Aside from this use, spaces and other whitespace characters are usually ignored by most modern programming languages; with the exception of Haskell, ABC and Python, which use the amount of whitespace in indentation to indicate the scope of a block (unlike Algol-derived languages, like Pascal, C and Perl, which use braces for that purpose). In word processors and text editors, if a line on a screen is shorter than the width of the screen or window, then the empty space to the right usually does not correspond with space characters in the file: there is simply a code indicating that the next text should be put on a new line. Thus, the size of the file is not made unnecessarily larger. If there are space characters, one usually does not see the difference; text editors and word processors often have an option to make them visible. Also, if there is a space character, the cursor can move there, otherwise usually not. Spaces and digital typographyIn computer programming, the normal space corresponds to Unicode and ASCII character 32, or U+0020. In HTML and XML multiple spaces or new line characters collapse into a single space, unless they are contained in an HTML element such as Other kinds of spaces exist for special uses: for example an em dash can optionally be surrounded with a so-called hair space, Unicode character 8202, or U+200A. This space should be much thinner than a normal space, and is seldom used on its own. It can be written in HTML by using the numeric character entity   or  . Unfortunately, very few user agents are able to render a hair space correctly: in most cases the result is an unwanted symbol or a question mark on the screen (depending on the font).
See alsode:Leerzeichen fr:Espace typographique
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
Copyright 2008 WordIQ.com - Privacy Policy
::
Terms of Use
:: Contact Us
:: About Us This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Space (punctuation)". |