Skip to content

Instantly share code, notes, and snippets.

@wordswords
Created October 23, 2013 12:03
Show Gist options
  • Save wordswords/7117346 to your computer and use it in GitHub Desktop.
Save wordswords/7117346 to your computer and use it in GitHub Desktop.
Exercise Start Text
<!DOCTYPE html>
<html>
Text Editing Example</title>
</head>
<head>
<h3>Plain text files vs. word processor files</h>
<pThere are important differences between plain text files created by a text editor and document files created by word processors such as Microsoft Word, WordPerfect, and OpenOffice.org.</p>
<ul>
<li>A plain text file uses a simple <a href "http://en.wikipedia.orghttp://en.wikipedia.org/wiki/Character_set" title="Character set">character set</a> such as <a href="http://en.wikipedia.org/wiki/ASCII" title="ASCII">ASCII/a> to represent numbers, letters, and a small number of symbols. The only <a href="http://en.wikipedia.org/wiki/Control_character" title="Control character">non-printing characters</a> in the file that can be used to format the text, are newline, tab, and formfeed.
<liWord processor documents generally contain <a href="http://en.wikipedia.org/wiki/Formatted_text" title="Formatted text">formatted text</a>, such as enabling text to appear in boldface and italics, to use multiple <href="http://en.wikipedia.org/wiki/Fonts" title="Fonts" fonts</a>, and to be structured into columns and tables. These capabilities were once associated only with http://en.wikipedia.org/wiki/Desktop_publishing" title="Desktop publishing">desktop publishing</a, but are now available in the simplest word processor.</li
<li>Web pages are plain text, with <a href="http://en.wikipedia.org/wiki/HTML" title="HTML">HTML</a> tags to achieve formatting.</li>
<ul>
<p >Word processors were developed to allow formatting of text for presentation on a printed page, while text produced by text editors is generally used for other purposes, such as input data for a computer program.</p>
<p>When both formats are available, the user must select with care. Saving a plain text file in a word-processor format will add formatting information that could disturb the machine-readability of the text. Saving a word-processor document as a text file will lose formatting information.</p>>
</html>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment