Physical style tags are quite straightforward; they do exactly what they claim. B, I, SUP, SUB, and TT are fairly common. BIG and SMALL are rarely used, as they may not operate correctly in Netscape 4.x browsers. Here is the list of physical style tags, seen in action:
Description: Makes text bold.
Example:<p>Hi there, <b>bold</b> boy.</p>
Hi there, bold boy.
Description: Makes text italic.
Example:<p>Slant <i>this way,</i> my little flower.</p>
Slant this way, my little flower.
Description: Makes text superscript.
Example:<p>Einstein Says: E = Mc<sup>2</sup></p>
Einstein Says: E = Mc2
Description: Makes text subscript.
Example:<p>The chemical formula for Sulfuric Acid is H<sub>2</sub>SO<sub>4</sub></p>
The chemical formula for Sulfuric Acid is H2SO4
Description: Makes text "teletype", aka the default monospace font (ordinarily, Courier 10pt, but this is dependant entirely on the user's browser settings).
Example:<p>Mr. CodeHead says: <tt>var myGoober = 10 * myRadius;</tt></p>
Mr. CodeHead says: var myGoober = 10 * myRadius;
Less Common Physical Styles:
Description: Makes text bigger. May not work in Netscape 4.x.
Example:<p>See how much <big>bigger</big> I am?</p>
See how much bigger I am?
Description: Makes text smaller. May not work in Netscape 4.x.
Example:<p>This text is much <small>smaller</small> than anything else.</p>
This text is much smaller than anything else.
Copyright © 2001 Michael Masumoto. All Rights Reserved.