Product Code Database
Example Keywords: nokia -mobile $73-123
   » » Wiki: Formatted Text
Tag Wiki 'Formatted Text'.

In , formatted text, styled text, or rich text, as opposed to , is which has styling information beyond the minimum of semantic elements: colours, styles (, ), sizes, and special features in (such as ).

Formatted text cannot rightly be identified with binary files or be distinct from ASCII text. This is because formatted text is not necessarily binary, it may be text-only, such as , RTF or files, and it may be ASCII-only. Conversely, a file may be non-ASCII (in an encoding such as UTF-8). Text-only formatted text is achieved by which too is textual, while some editors of formatted text like save in a binary format.

Beginnings of formatted text
Formatted text has its genesis in the pre-computer use of underscoring to embolden passages in typewritten manuscripts. In the first interactive systems of early computer technology, underlining was not possible, and users made up for this lack (and the lack of formatting in ASCII) by using certain symbols as substitutes. Emphasis, for example, could be achieved in ASCII in a number of ways:

  • Capitalization:
  • Surrounding with underscores:
  • Surrounding with asterisks:
  • Spacing:

Surrounding by underscores was also used for book titles:

Markup languages
Formatting can be marked by tags distinguished from the body text by special characters, such as angle brackets in . For example, this text:

The dog is classified as Canis familiaris in taxonomy.

is marked up in thus:

The dog is classified as Canis familiaris in taxonomy.

The italicised text is enclosed by an opening and a closing italics tag. In , the text would be marked up like this: The dog is classified as \textit{Canis familiaris} in taxonomy. Most markup languages can be edited with any , needing no special . Many markup languages can also be edited with specialized software designed to automate some functions or present the output as .

Formatted document files
Since the invention of , the first word processor, in which the typist codes the formatting visually rather than by inserting textual markup, word processors have tended to save to . Opening such files with a reveals them embedded with various binary characters, either around the formatted text (e.g. in ) or separate from it, at the beginning or end of the file (e.g. in ).

Formatted text documents in binary files have, however, the disadvantages of formatting scope and secrecy. Whereas the extent of formatting is accurately marked in markup languages, formatting is based on memory, that is, keeping for example your pressing of the boldface button until cancelled. This can lead to formatting mistakes and maintenance troubles. As for secrecy, formatted text document file formats tend to be proprietary and undocumented, leading to difficulty in coding compatibility by third parties, and also to unnecessary upgrades because of version changes.

was a popular word processor that did not use binary files with hidden characters. Writer saves files in an format. However, the resultant file is a binary since it is compressed (a tarball equivalent).

is another formatted text file format that is usually binary (using compression for the text, and storing graphics and fonts in binary). It is generally an end-user format, written from an application such as or Writer, and not editable by the user once done.

See also

Page 1 of 1
Page 1 of 1


Pages:  ..   .. 
Items:  .. 


General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 


Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs
1s Time