Formatted text

Updated: 02/07/2022 by Computer Hope
Plaintext and formatted text.

Formatted text is text displayed in a special, specified style. In computer applications, formatting data may be associated with text data to create formatted text. How formatted text is created and displayed is dependent on the operating system and application software used on the computer.

Text formatting data may be qualitative (e.g., font family), or quantitative (e.g., font size, or color). It may also indicate a style of emphasis (e.g., boldface, or italics), or a style of notation (e.g., strikethrough, or superscript).

Purpose

The purpose of formatted text is to enhance the presentation of information. For example, in the previous paragraph, the italicized words are each followed by examples. At a glance, the reader can ascertain that there are four special words in the paragraph. The goal is to help the reader to obtain, understand, and retain the information.

Copying formatted text

When you copy formatted text to your clipboard, formatting information may or may not be copied with the text data.

For example, if you select text in one application that is boldface, you can copy it to your clipboard by pressing Ctrl+C. The formatting data is also copied to the clipboard, saying "this text is bold." When you paste it (Ctrl+V) into a program that also supports formatted text, that formatting data is included, and the pasted text should appear bold.

However, if you paste the text into an application that does not support bold text, such as Microsoft Notepad, the pasted text is unformatted. Notepad ignores the formatting information, because it doesn't understand it. However, the plain text is pasted correctly.

The same is true if you paste the formatted text into a text field, such as the address bar in your web browser. Formatting data is stripped, but the plain text is pasted.

Unformatted text

Unformatted text is any text that is not associated with any formatting information. It is plain text, containing only printable characters, white space, and line breaks.

Format, Markdown, Paste special, Plain text, RTF, Text, Typography terms