Physical Style Tags

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:

Tag: B
Description: Makes text bold.

Example:

<p>Hi there, <b>bold</b> boy.</p>

Displayed:

Hi there, bold boy.

Tag: I
Description: Makes text italic.

Example:

<p>Slant <i>this way,</i> my little flower.</p>

Displayed:

Slant this way, my little flower.

Tag: SUP
Description: Makes text superscript.

Example:

<p>Einstein Says: E = Mc<sup>2</sup></p>

Displayed:

Einstein Says: E = Mc2

Tag: SUB
Description: Makes text subscript.

Example:

<p>The chemical formula for Sulfuric Acid is H<sub>2</sub>SO<sub>4</sub></p>

Displayed:

The chemical formula for Sulfuric Acid is H2SO4

Tag: TT
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>

Displayed:

Mr. CodeHead says: var myGoober = 10 * myRadius;

Less Common Physical Styles:

Tag: BIG
Description: Makes text bigger. May not work in Netscape 4.x.

Example:

<p>See how much <big>bigger</big> I am?</p>

Displayed:

See how much bigger I am?

Tag: SMALL
Description: Makes text smaller. May not work in Netscape 4.x.

Example:

<p>This text is much <small>smaller</small> than anything else.</p>

Displayed:

This text is much smaller than anything else.

Main Menu