Logical Versus Physical Styles

This assignment was part of a technical writing class taught at Georgia Tech during 1996-96. I no longer update it but thought the information might be useful to some.

The issue of logical versus physical style tags is a confusing one, because we really don't have the category of "logical" tags anywhere else in our lives. Rather, we live in a world of physical tags, where word processors, etc., are used to display text in the format (bold, italics, etc.) that we desire.

HTML is a little different because it is meant to do more than just display text in certain formats. Remember--HTML is a Standard Generalized Markup Language (SGML). And a SGML is designed to provide a uniform scheme to "markup" electronic documents. The uniformity is key because lots of different folks are marking up these documents--if they ddidn't have some agreed upon scheme for doing so, then others wouldn't be able to interpret those documents correctly.

HTML is based on the same idea: If you provide a uniform set of standards, then everyone will be able to read the documents. And, along the same lines, if everyone knows the standards, then everyone can create new Web browsers to view those documents. No one Web browser would determine how documents could be displayed. It's a little like a world in which Microsoft Word wasn't the only word processing program (huh?!). And in which all word processors could read and correctly display all documents, no matter what application created them. Word Perfect would read Word would read Word Star would read Claris Works, etc., etc., etc.

Because their goal was to create a standard for documents that would work with different platforms (IBM, Mac, Unix) and with different browsers (Lynx, Mosaic, Cello, MacWeb, Netscape), the creators of HTML decided that it was much more important to say something about a document's content than it was to concentrate on exacting descriptions of how to present the document. So, they created "logical tags".

As I said on the Homepage Assignment, logical tags can be divided into two categories: tags that designate headings and tags that designate how characters will be displayed. Headings designate the beginning of a section or subsection of a document:

They should not be used simply because you want to enlarge and bold text. Such physical formatting can be done using the <B> and <FONT SIZE = +1> tags.

Which one is the heading?

Heading

Heading

You can't tell the difference, but a Web Walker, a program that travels the Web and makes outlines of pages based on the heading tags, would ignore the second "heading".

Character tags like <STRONG> and <EM> produce the same physical display as <B> and <I> but are more uniformly supported across different browsers.

My quick and dirty formula? Use logical tags where possible and appropriate but don't shy away from the physical formatting permitted by tags like <CENTER>.

Remember:

Logical Tags
Describe meaning of text and Format text
Physical Tags
Only Format text
Return to 3020 home.


Last Modified: November 14, 1995