The HTML Artwork HTML Physical Style Test Page

There are two type of formatting tags available in HTML -- physical and logical. Physical tags indicate the type of font that is to be used to display the text, while logical fonts describe the type of text, and leave it to the browser to decide how that type of text should be displayed. The preferred method is logical, since it gives browsers greater flexibility in rendering output. However, there are times when it is necessary to use physical tags. For example, if you are giving instructions, you may wish to state that some portions of your text will be in italics. In this case, you need to be sure that the text really does appear in an italic font. This page illustrates physical style tags.


There are four physical tags in HTML:

Italic: <I>
This paragraph is in an italic tag. The EM (emphasis) logical tag is usually displayed in an italic font, and is recommended over the I tag.
Bold: <B>
This paragraph is in a bold tag. It should appear in a boldface font. Most browsers display text in the logical tag <STRONG> the same way that they display text in a <B> tag. Use of the logical tag is recommended over B.
Typewriter: <TT>
This paragraph is in a typewriter tag. It should appear in a fixed-width typewriter font. We have found that many browsers do not support it.
Underlined: <U>
This paragraph is in an underline tag. It should be underlined.

The fontsize and blink tags in the Netscape extensions to HTML provide additional physical tags (although they are only supported in the Netscape Navigator.)


[HTML CD Home Page]

Vivian Neou, vivian@catalog.com
Copyright © 1995 Vivian Neou