What is a "markup language"?

A markup language identifies pieces of a document so that another application can do something with those pieces. All document creation tools have a markup language.

markup logo

In early days of text processing, WordStar, XyWrite, and Word Perfect used to let you see and edit their markup code; Word and MacWrite usually didn't. The following image shows an example of how WordPerfect showed you the markup in the text.

example of the WordPerfect markup language view

Does the markup in WordPerfect remind you of something you have done recently?

a screenshot of the text in the first paragraph displayed in Mozilla Composer

All formatters need to distinguish the text to be printed from instructions about how to print; these instructions are called markup. Procedural markup tells the software what to do (space down, invoke a macro); generic markup describes the thing to be printed (heading, cross-reference, etc.).

[top]

Examples of markup languages

Markup has a long history. But one can understand markup by thinking about some markup languages that you are already familiar with.

And some you may not have yet encountered

[top]

Word Processing Markup Languages

WordStar was one of the earlier ones. Since there was no graphical user interface at that time, it had to show you in text what it was doing with its markup, much as the UNIX text editors do.

WordPerfect was very good for text-centric documents and was thus embraced by folks creating legal documents. The ability to see and control the text markup was critical.

There are a lot of possibilities out there, but MSWord has the lion's share of the market. OpenOffice Writer may eventually become a competitor to MSWord because it is based on XML and on the Open Document standard and has most of the same features as MSWord. But, for now, MSWord is the most potent tool out there. Not everyone likes it, but MSWord is a very powerful tool.

But is it simply a word processor? And what is the difference between a text editor and a word processor?

Is MSWord something more? Perhaps an object manipulator?

[top]

Other options

MSWord is not the only tool out there, but it is a business standard. You might not need to use MSWord and if that is the case, there are lots of alternatives. Consider your needs:

[top]

So let's use MSWord 2007 to discuss effective formatting of text documents

but let's also use OpenOffice Writer to see an alternative way of applying the same principles

Today, we will work on formatting the following objects:

  • Pages
  • Paragraphs
  • Text

To do so, open The Awful German Language, by Mark Twain. Copy it all, then paste it into a Word document so we can work with it.

[top] [page & text markup]

Last updated on

Image